Re: [PATCH v1] scsi: dc395: fix error case unwinding

From: Martin K. Petersen
Date: Wed Sep 29 2021 - 00:20:53 EST


On Mon, 6 Sep 2021 21:07:02 -0700, Tong Zhang wrote:

> dc395x_init_one()->adapter_init() might fail. In this case, the acb
> is already clean up by adapter_init(), no need to do that in
> adapter_uninit(acb) again.
>
> [ 1.252251] dc395x: adapter init failed
> [ 1.254900] RIP: 0010:adapter_uninit+0x94/0x170 [dc395x]
> [ 1.260307] Call Trace:
> [ 1.260442] dc395x_init_one.cold+0x72a/0x9bb [dc395x]
>
> [...]

Applied to 5.16/scsi-queue, thanks!

[1/1] scsi: dc395: fix error case unwinding
https://git.kernel.org/mkp/scsi/c/cbd9a3347c75

--
Martin K. Petersen Oracle Linux Engineering