Re: [PATCH v2] scsi: core: pair EH runtime PM get/put
From: Bart Van Assche
Date: Tue May 26 2026 - 15:53:15 EST
On 5/24/26 11:45 PM, Hongjie Fang wrote:
- if (!shost->eh_noresume)
+ if (autopm_get)
scsi_autopm_put_host(shost);
Since this variable controls whether or not scsi_autopm_put_host() is
called, autopm_put is probably a better name for this variable.
Thanks,
Bart.