Tag: 232827fb8168d07844a589f0d4991afab16a23ea

staging/iio: Use correct argument for sizeof

Author: Peter Huewe <peterhuewe@gmx.de> found with coccicheck sizeof when applied to a pointer typed expression gives the size of the pointer The semantic patch that makes this output is available in scripts/coccinelle/misc/noderef.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Peter Huewe Signed-off-by: Jonathan Cameron — drivers/staging/iio/iio_hwmon.c | 2 +- 1 file changed, …

Continue reading