]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
parisc: ccio-dma: Add missing iounmap in error path in ccio_probe()
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 24 Aug 2022 09:36:57 +0000 (17:36 +0800)
committerHelge Deller <deller@gmx.de>
Tue, 13 Sep 2022 06:50:31 +0000 (08:50 +0200)
commit38238be4e881a5d0abbe4872b4cd6ed790be06c8
tree6952937a9638d41c1d0c4171b8d16b203bb2c323
parent80e78fcce86de0288793a0ef0f6acf37656ee4cf
parisc: ccio-dma: Add missing iounmap in error path in ccio_probe()

Add missing iounmap() before return from ccio_probe(), if ccio_init_resources()
fails.

Fixes: d46c742f827f ("parisc: ccio-dma: Handle kmalloc failure in ccio_init_resources()")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/parisc/ccio-dma.c