]> Git Repo - linux.git/commit
iio: dac: mcp4725: fix odd_ptr_err.cocci warnings
authorJulia Lawall <[email protected]>
Sat, 22 Oct 2016 20:41:32 +0000 (22:41 +0200)
committerJonathan Cameron <[email protected]>
Sun, 23 Oct 2016 18:34:27 +0000 (19:34 +0100)
commit30df2d1879ff65af7b269ee94e9c7fc276b54105
treef05716eb07d35de4d10d2a7cdf523eb16e1890fc
parentdbdef9ba693a5ac7d92368cef7d436b3093e9f4e
iio: dac: mcp4725: fix odd_ptr_err.cocci warnings

PTR_ERR should access the value just tested by IS_ERR

Generated by: scripts/coccinelle/tests/odd_ptr_err.cocci

CC: Tomas Novotny <[email protected]>
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
drivers/iio/dac/mcp4725.c
This page took 0.053729 seconds and 4 git commands to generate.