m32r: fix potential NULL-pointer dereference
authorKirill A. Shutemov <[email protected]>
Thu, 14 Nov 2013 22:31:18 +0000 (14:31 -0800)
committerLinus Torvalds <[email protected]>
Fri, 15 Nov 2013 00:32:15 +0000 (09:32 +0900)
commitfecf3743b824ce4eb275ed4a1d6aee9494f6a966
treec7de27cd29a2b8896e605364a20bc3783ed5e06c
parent26db39027c00744107acf184527010a1e05907e7
m32r: fix potential NULL-pointer dereference

Add missing check for memory allocation fail.

Signed-off-by: Kirill A. Shutemov <[email protected]>
Cc: Hirokazu Takata <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/m32r/include/asm/pgalloc.h