aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hppfs/hppfs.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2013-07-03 22:04:54 +0000
committerLinus Torvalds <[email protected]>2013-07-03 23:07:41 +0000
commite7152b97f38f1f5b915c719e6a3040697a700a16 (patch)
tree78f73f1c4791683f38b5894b0c7f12d9e9b6006d /fs/hppfs/hppfs.c
parentarch/frv/kernel/setup.c: use strncmp() instead of memcmp() (diff)
downloadkernel-e7152b97f38f1f5b915c719e6a3040697a700a16.tar.gz
kernel-e7152b97f38f1f5b915c719e6a3040697a700a16.zip
err.h: IS_ERR() can accept __user pointers
Sparse generates a false positive when you pass a __user or __iomem pointer to the IS_ERR() functions. drivers/rtc/rtc-ds1286.c:344:36: sparse: incorrect type in argument 1 (different address spaces) drivers/rtc/rtc-ds1286.c:344:36: expected void const *ptr drivers/rtc/rtc-ds1286.c:344:36: got unsigned int [noderef] [usertype] <asn:2>*rtcregs We can silence these by adding a __force here and upgrading to Sparse v0.4.5-rc1 or later. This change has no effect when using current Sparse releases. Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Christopher Li <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/hppfs/hppfs.c')
0 files changed, 0 insertions, 0 deletions