diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2026-09-25 11:26:10 -0700 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-10-14 22:38:45 -0400 |
| commit | e2bb4cd0808037adcc9ee06738ac6b27bd8b91b0 (patch) | |
| tree | f3b851e47a8cc291c1163de6aac5b5a49f518223 /tools/lib/python | |
| parent | 2a0cb1a2423d88bb1ec95fb7f3e4625e561ea983 (diff) | |
scsi: ipr: Pass the host pointer directly to several functions
Pass the struct Scsi_Host pointer directly to ipr_send_blocking_cmd(),
ipr_device_reset(), and __ipr_eh_dev_reset(). Introduce the local variable
'host' in error handling functions to avoid repetitive dereferencing of
cmd->device->host. This patch prepares for enabling lock context analysis.
No functionality has been changed.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/3b255296f86ae38f349f92e14736adaa18c9d8ec.1790360262.git.bvanassche@acm.org
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
