diff options
| author | Hannes Reinecke <[email protected]> | 2023-10-23 09:29:57 +0200 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2023-10-24 22:24:32 -0400 |
| commit | 0b1b4b04444fc3e8f2489cde43513dcddb9f3f60 (patch) | |
| tree | bd178974018417d5d6f9accf0a7ecf2d064d4e0d /scripts/gcc-plugins/gcc-common.h | |
| parent | 96f41cddbc7baf1a96a388693dcfac0051db070d (diff) | |
scsi: pmcraid: Add missing scsi_device_put() in pmcraid_eh_target_reset_handler()
When breaking out of an shost_for_each_device() loop one needs to do an
explicit scsi_device_put().
Fixes: c2a14ab3b9b3 ("scsi: pmcraid: Select device in pmcraid_eh_target_reset_handler()")
Signed-off-by: Hannes Reinecke <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions