summaryrefslogtreecommitdiffstats
path: root/fs/efs/namei.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@sw.ru>2007-07-17 04:03:56 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 10:23:03 -0700
commit2a41de48b81e61fbe260ae5031ebcb6f935f35fb (patch)
tree3e9697a535f09a5f3c06c61982c7565b858ff46c /fs/efs/namei.c
parent13c22168b7276dffe49dc66675d5a78f6d288e0d (diff)
downloadblackbird-op-linux-2a41de48b81e61fbe260ae5031ebcb6f935f35fb.tar.gz
blackbird-op-linux-2a41de48b81e61fbe260ae5031ebcb6f935f35fb.zip
Fix sparse false positives re BUG_ON(ptr)
sparse now warns if one compares pointers with integers. However, there are false positives, like: fs/filesystems.c:72:2: warning: Using plain integer as NULL pointer Every time BUG_ON(ptr) is used, ptr is checked against integer zero. Avoid that and save ~70 false positives from allyesconfig run. mentioned by Al. Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru> Acked-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Josh Triplett <josh@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/efs/namei.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud