On 10/16/23 15:29, Christoph Hellwig wrote:
On Mon, Oct 16, 2023 at 11:24:14AM +0200, Hannes Reinecke wrote:
When breaking out of a shost_for_each_device() loop one need to do
an explicit scsi_device_put(). And while at it convert to use
shost_priv() instead of a direct reference to ->hostdata.
While both part of the patch looks good, mixing these totally unrelated
bits doesn't seem like a good idea.
I can easily send this as a separate patch, seeing that it's a bugfix to
the previous merge.
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@xxxxxxx +49 911 74053 688
SUSE Software Solutions Germany GmbH, Frankenstr. 146, 90461 Nürnberg
Managing Directors: I. Totev, A. Myers, A. McDonald, M. B. Moerman
(HRB 36809, AG Nürnberg)