diff options
author | Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> | 2014-04-07 15:36:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-07 16:35:49 -0700 |
commit | a9af0c5dfdaf0b2e1a8bab7fbf6f29138947d534 (patch) | |
tree | 2de13aa7095ee0b4aa8a7d47d9d89817a06a52a6 /mm/highmem.c | |
parent | 87c1b497c299e48e681f041de4dd6ce4831aaf75 (diff) | |
download | op-kernel-dev-a9af0c5dfdaf0b2e1a8bab7fbf6f29138947d534.zip op-kernel-dev-a9af0c5dfdaf0b2e1a8bab7fbf6f29138947d534.tar.gz |
mm/hugetlb.c: add NULL check of return value of huge_pte_offset
huge_pte_offset() could return NULL, so we need NULL check to avoid
potential NULL pointer dereferences.
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/highmem.c')
0 files changed, 0 insertions, 0 deletions