commit | d38fb2984cea8b5c35d9869953b514966bd98ed5 | [log] [tgz] |
---|---|---|
author | Li Qiong <liqiong@nfschina.com> | Fri Aug 19 12:15:10 2022 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 15 12:39:45 2022 +0200 |
tree | 29caa5c7a7b63c0ae14a4fb9633b15dedbc405de | |
parent | b878da58df2c40b08914d3960e2224040fd1fbfe [diff] |
parisc: ccio-dma: Handle kmalloc failure in ccio_init_resources() [ Upstream commit d46c742f827fa2326ab1f4faa1cccadb56912341 ] 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: Li Qiong <liqiong@nfschina.com> Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Sasha Levin <sashal@kernel.org>