]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: armv8_deprecated: Checking return value for memory allocation
authorYunfeng Ye <yeyunfeng@huawei.com>
Sun, 29 Sep 2019 04:44:17 +0000 (12:44 +0800)
committerWill Deacon <will@kernel.org>
Tue, 8 Oct 2019 12:34:04 +0000 (13:34 +0100)
commita8f671b56a922a96f346ffad8022405ad3c08f3b
tree667791d9c4ec56b544a6ebd4dc57d8c4537b8755
parent7cc46781f3569fd7dc1444f9c3f065a0bd303eb6
arm64: armv8_deprecated: Checking return value for memory allocation

There are no return value checking when using kzalloc() and kcalloc() for
memory allocation. so add it.

Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/armv8_deprecated.c