procfs: remove sparse errors in proc_devtree.c
authorMichal Simek <monstr@monstr.eu>
Wed, 17 Jun 2009 23:25:59 +0000 (16:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2009 20:03:41 +0000 (13:03 -0700)
commitbcac2b1b7d67f4e7c001b755409fafb37cb0d888
tree5b69b8e5f1321a602a522b49f676bca54c0cb565
parent3fe4a975d662f11037cb710f8b4b158a3e38f9c0
procfs: remove sparse errors in proc_devtree.c

CHECK   fs/proc/proc_devtree.c
fs/proc/proc_devtree.c:197:14: warning: Using plain integer as NULL pointer
fs/proc/proc_devtree.c:203:34: warning: Using plain integer as NULL pointer
fs/proc/proc_devtree.c:210:14: warning: Using plain integer as NULL pointer
fs/proc/proc_devtree.c:223:26: warning: Using plain integer as NULL pointer
fs/proc/proc_devtree.c:226:14: warning: Using plain integer as NULL pointer

Signed-off-by: Michal Simek <monstr@monstr.eu>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/proc_devtree.c