45145f9ab1
Change the call to PTR_ERR to access the value just tested by IS_ERR. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression e,e1; @@ ( if (IS_ERR(e)) { ... PTR_ERR(e) ... } | if (IS_ERR(e=e1)) { ... PTR_ERR(e) ... } | *if (IS_ERR(e)) { ... * PTR_ERR(e1) ... } ) // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
TODO | ||
bc_dts_defs.h | ||
bc_dts_glob_lnx.h | ||
bcm_70012_regs.h | ||
crystalhd.h | ||
crystalhd_cmds.c | ||
crystalhd_cmds.h | ||
crystalhd_fw_if.h | ||
crystalhd_hw.c | ||
crystalhd_hw.h | ||
crystalhd_lnx.c | ||
crystalhd_lnx.h | ||
crystalhd_misc.c | ||
crystalhd_misc.h |