diff options
author | Chen Gang <chengang@emindsoft.com.cn> | 2016-04-01 14:31:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-04-01 17:03:37 -0500 |
commit | 969e8d7e47f93ef693028667480558de8f70523f (patch) | |
tree | 3a7f542dc53574f7804850b74ff69171352b9c6b /mm/page_isolation.c | |
parent | 0b355eaaaae9bb8bb08b563ef55ecb23a4d743da (diff) | |
download | lwn-969e8d7e47f93ef693028667480558de8f70523f.tar.gz lwn-969e8d7e47f93ef693028667480558de8f70523f.zip |
include/linux/huge_mm.h: return NULL instead of false for pmd_trans_huge_lock()
The return value of pmd_trans_huge_lock() is a pointer, not a boolean
value, so use NULL instead of false as the return value.
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
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/page_isolation.c')
0 files changed, 0 insertions, 0 deletions