mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
[ Upstream commit4c09f8b691] Fix to return negative error code -ENOMEM from the kvcalloc() error handling case instead of 0, as done elsewhere in this function. Fixes:acdf52d97f("selinux: convert to kvmalloc") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Paul Moore <paul@paul-moore.com> Signed-off-by: Sasha Levin <sashal@kernel.org>