mm/vmalloc.c: is_vmalloc_addr() can return bool
authorYaowei Bai <baiyaowei@cmss.chinamobile.com>
Fri, 20 May 2016 00:11:29 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 May 2016 02:12:14 +0000 (19:12 -0700)
commitbb00a789e565b96c52b2224c2280f7ac83175bec
tree6ad967b3b440bee71a50791e3f368fb2388594cd
parentc98940f6fa3d06fa8fec75aa2362b25227573d06
mm/vmalloc.c: is_vmalloc_addr() can return bool

Make is_vmalloc_addr() return bool to improve readability due to this
particular function only using either one or zero as its return value.

Signed-off-by: Yaowei Bai <baiyaowei@cmss.chinamobile.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h