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>
This commit is contained in:
Yunfeng Ye 2019-09-29 12:44:17 +08:00 • committed by Will Deacon
commit 3e7c93bd04