mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
[ Upstream commit d773695866 ]
When kalloc or kmemdup failed, should return ENOMEM rather than ENOBUF.
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>