Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6258745b authored by Yunfeng Ye's avatar Yunfeng Ye Committed by Greg Kroah-Hartman
Browse files

arm64: armv8_deprecated: Checking return value for memory allocation



[ Upstream commit 3e7c93bd04edfb0cae7dad1215544c9350254b8f ]

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

Signed-off-by: default avatarYunfeng Ye <yeyunfeng@huawei.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c3689876
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment