mm/memory.c: use NULL instead of literal 0
authorTobin C Harding <me@tobin.cc>
Fri, 24 Feb 2017 22:58:59 +0000 (14:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 25 Feb 2017 01:46:55 +0000 (17:46 -0800)
commit7f2b6ce8e31ef843f5ece7fd302119d659b015f7
tree55c871fcf3c4030df6e9695665e5b97ab094144f
parentf2bf14d14dbc50dc56be3ebd18652ea2738ef6f8
mm/memory.c: use NULL instead of literal 0

Patch fixes sparse warning: Using plain integer as NULL pointer.
Replaces assignment of 0 to pointer with NULL assignment.

Link: http://lkml.kernel.org/r/1485992240-10986-2-git-send-email-me@tobin.cc
Signed-off-by: Tobin C Harding <me@tobin.cc>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c