Skip to content
Commit dcf54e6c authored by Li Qiong's avatar Li Qiong Committed by Greg Kroah-Hartman
Browse files

parisc: ccio-dma: Handle kmalloc failure in ccio_init_resources()



[ Upstream commit d46c742f ]

As the possible failure of the kmalloc(), it should be better
to fix this error path, check and return '-ENOMEM' error code.

Signed-off-by: default avatarLi Qiong <liqiong@nfschina.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c72d9714
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