]> 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)
commit5ed30b9096aaa1488ed77addb815f0e9ba740c6f
tree667791d9c4ec56b544a6ebd4dc57d8c4537b8755
parent49a04f0c7fcf02364fc2c3deee9170624117a18d
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