Tag: e9ed104de68c345c9a827225e93c74c6894613a9

staging:iio:impedance:ad5933: correct error check

Author: Julia Lawall <Julia.Lawall@lip6.fr> 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) { } // Signed-off-by: Julia Lawall Signed-off-by: Jonathan Cameron cc: stable@vger.kernel.org — drivers/staging/iio/impedance-analyzer/ad5933.c | 2 +- 1 file changed, …

Continue reading