Alexey Dobriyan 2a41de48b8 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>
2007-07-17 10:23:03 -07:00
..
2007-04-25 22:23:33 -07:00
2005-04-16 15:20:36 -07:00
2007-07-16 09:05:45 -07:00
2007-02-12 09:48:34 -08:00
2005-04-16 15:20:36 -07:00
2006-01-10 08:01:34 -08:00
2005-04-16 15:20:36 -07:00
2007-05-11 08:29:34 -07:00
2006-10-03 23:01:26 +02:00
2005-04-16 15:20:36 -07:00
2005-09-08 14:57:25 -07:00
2007-05-11 08:29:34 -07:00
2005-05-01 08:59:00 -07:00
2006-10-03 23:01:26 +02:00
2005-05-01 08:59:08 -07:00
2005-04-16 15:20:36 -07:00
2006-12-08 08:28:57 -08:00
2006-10-03 23:01:26 +02:00
2005-06-23 09:45:08 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00