linux/drivers/staging/crystalhd
Julia Lawall 45145f9ab1 drivers/staging/crystalhd/crystalhd_lnx.c: adjust inconsistent IS_ERR and PTR_ERR
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>
2012-09-04 14:22:48 -07:00
..
Kconfig
Makefile Staging: crystalhd: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:52 -07:00
TODO Staging: crystalhd: Cleanup all WIN* references 2010-05-11 11:36:01 -07:00
bc_dts_defs.h Add #includes needed to permit the removal of asm/system.h 2012-03-28 18:30:03 +01:00
bc_dts_glob_lnx.h Staging: crystalhd: Replace the local includes with global header 2012-02-29 15:54:39 -08:00
bcm_70012_regs.h Staging: crystalhd: Whitespace fixes, indentation fixes and 3 changed #includes 2010-05-11 11:35:36 -07:00
crystalhd.h Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
crystalhd_cmds.c Staging: crystalhd: Replace the local includes with global header 2012-02-29 15:54:39 -08:00
crystalhd_cmds.h Staging: crystalhd: Replace the local includes with global header 2012-02-29 15:54:39 -08:00
crystalhd_fw_if.h drivers/staging/crystalhd/: Fix a coding style issues 2011-09-12 16:51:25 +02:00
crystalhd_hw.c staging: crystalhd: Fix typo in crystalhd_hw.c 2012-03-08 09:57:38 -08:00
crystalhd_hw.h Staging: crystalhd: Replace the local includes with global header 2012-02-29 15:54:39 -08:00
crystalhd_lnx.c drivers/staging/crystalhd/crystalhd_lnx.c: adjust inconsistent IS_ERR and PTR_ERR 2012-09-04 14:22:48 -07:00
crystalhd_lnx.h Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
crystalhd_misc.c Staging: crystalhd: Replace the local includes with global header 2012-02-29 15:54:39 -08:00
crystalhd_misc.h Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00