Tag: f7aa23cb8dba96b92f46e47101d360c5e0fa4e3b

spi: spi-ep93xx: Fix the PTR_ERR() argument

Author: Fabio Estevam <fabio.estevam@nxp.com> PTR_ERR should access the value just tested by IS_ERR. The semantic patch that makes this change is available in scripts/coccinelle/tests/odd_ptr_err.cocci. Signed-off-by: Fabio Estevam Signed-off-by: Mark Brown — drivers/spi/spi-ep93xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/spi/spi-ep93xx.c b/drivers/spi/spi-ep93xx.c index bb00be8..17a6387 100644 — a/drivers/spi/spi-ep93xx.c +++ b/drivers/spi/spi-ep93xx.c @@ …

Continue reading