[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163288294652.9370.4294891378413263010.b4-ty@oracle.com>
Date: Wed, 29 Sep 2021 00:20:16 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: dc395x@...bble.org, Ali Akcaagac <aliakc@....de>,
Tong Zhang <ztong0001@...il.com>, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
Jamie Lenehan <lenehan@...bble.org>,
Oliver Neukum <oliver@...kum.org>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>
Subject: Re: [PATCH v1] scsi: dc395: fix error case unwinding
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
Powered by blists - more mailing lists