diff options
author | Li Qiong <liqiong@nfschina.com> | 2022-08-19 12:15:10 +0800 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-08-22 11:09:17 +0200 |
commit | d46c742f827fa2326ab1f4faa1cccadb56912341 (patch) | |
tree | 7258b655f7ed2a9670ba19d20e4fb0b7d244d7f4 /arch | |
parent | 4cb2643667c26fc976a4941b92f3770da9ec06a0 (diff) | |
download | linux-rpi-d46c742f827fa2326ab1f4faa1cccadb56912341.tar.gz linux-rpi-d46c742f827fa2326ab1f4faa1cccadb56912341.tar.bz2 linux-rpi-d46c742f827fa2326ab1f4faa1cccadb56912341.zip |
parisc: ccio-dma: Handle kmalloc failure in ccio_init_resources()
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions