[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1ms4wjvpk.fsf@ca-mkp.ca.oracle.com>
Date: Sat, 08 Nov 2025 12:11:29 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Haotian Zhang <vulab@...as.ac.cn>
Cc: "James E . J . Bottomley" <James.Bottomley@...senPartnership.com>,
"Martin K . Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: stex: fix reboot_notifier leak in probe error path
Haotian,
> In stex_probe(), register_reboot_notifier() is called at the
> beginning, but if any subsequent initialization step fails, the
> function returns without unregistering the notifier, resulting in a
> resource leak.
Applied to 6.19/scsi-staging, thanks!
--
Martin K. Petersen
Powered by blists - more mailing lists