Skip to content
Commit d46c742f authored by Li Qiong's avatar Li Qiong Committed by Helge Deller
Browse files

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: default avatarLi Qiong <liqiong@nfschina.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 4cb26436
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment