diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2026-09-25 11:26:24 -0700 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-10-14 22:38:46 -0400 |
| commit | 5bb1688785a5314cea4eaf91b8fa5e3609501727 (patch) | |
| tree | a7c17fdcfc1471e96a1a3076338668316e314f9a /tools/lib/python | |
| parent | 6210d20f7fe48c76b0ca8ee2584ef93b0bac2364 (diff) | |
scsi: qla1280: Pass the host pointer directly to several functions
Pass the struct Scsi_Host pointer directly to
_qla1280_wait_for_single_command(), qla1280_wait_for_single_command(),
qla1280_wait_for_pending_commands(), and qla1280_error_action().
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/4c2a8952fd8d3c8742af5685d0bb3a1677ba92b5.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
