From: Julia Lawall
iio_kfifo_allocate returns NULL in case of error.
The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)
//
@@
expression *x;
identifier f;
statement S1,S2;
@@
*x = f(...);
if (x) { <+... when != if (...) S1 else S2
-ENOMEM ...+> }
//
On 01/01/14 13:07, Julia Lawall wrote:
From: Julia Lawall
iio_kfifo_allocate returns NULL in case of error.
The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)
//
@@
expression *x;
identifier f;
statement S1,S2;
@@
*x = f(...);
if (x) { <+... when != i
From: Chase Southwood
This is a patch for pcmmio.c that changes several printk() calls to dev_dbg()
or dev_err() to fix checkpatch.pl warnings. Patched from 3.13-rc6.
Signed-off-by: Chase Southwood
---
drivers/staging/comedi/drivers/pcmmio.c | 23 +--
1 file changed, 13 i