summaryrefslogtreecommitdiffstats
path: root/mm/kmemleak.c
diff options
context:
space:
mode:
authorTobin C Harding <me@tobin.cc>2017-02-24 14:58:59 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-24 17:46:55 -0800
commit7f2b6ce8e31ef843f5ece7fd302119d659b015f7 (patch)
tree55c871fcf3c4030df6e9695665e5b97ab094144f /mm/kmemleak.c
parentf2bf14d14dbc50dc56be3ebd18652ea2738ef6f8 (diff)
downloadlinux-7f2b6ce8e31ef843f5ece7fd302119d659b015f7.tar.gz
linux-7f2b6ce8e31ef843f5ece7fd302119d659b015f7.tar.xz
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>
Diffstat (limited to 'mm/kmemleak.c')
0 files changed, 0 insertions, 0 deletions