]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/kasan/kasan.c: rename XXX_is_zero to XXX_is_nonzero
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>
Mon, 10 Jul 2017 22:50:37 +0000 (15:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Jul 2017 23:32:33 +0000 (16:32 -0700)
commitf5bd62cd44119a11a30976f6a97f4aab2c35a097
tree68e0244e8e8494b8306d6e21192eccb17cf77fdc
parentfa69b5989bb0031efa96f2f4ff49caf6532a0970
mm/kasan/kasan.c: rename XXX_is_zero to XXX_is_nonzero

They return positive value, that is, true, if non-zero value is found.
Rename them to reduce confusion.

Link: http://lkml.kernel.org/r/20170516012350.GA16015@js1304-desktop
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/kasan/kasan.c