diff options
| author | Bart Van Assche <[email protected]> | 2022-02-18 11:51:13 -0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-02-22 21:11:07 -0500 |
| commit | 5dfcf1ad933fe877cb44e9fb7a661dfc22190101 (patch) | |
| tree | 943cbf9eadcea5ddfd30c918dd5c260c28ace185 /tools/perf/scripts/python/flamegraph.py | |
| parent | 4022bfd63d8ee096f801ed024eabdda836f30c6d (diff) | |
scsi: usb: Stop using the SCSI pointer
Set scsi_host_template.cmd_size instead of using the SCSI pointer for
storing driver-private data. Change the type of the argument of
uas_add_work() from struct uas_cmd_info * into struct scsi_cmnd * because
it is easier to convert a SCSI command pointer into a uas_cmd_info pointer
than the other way around.
This patch prepares for removal of the SCSI pointer from struct scsi_cmnd.
Link: https://lore.kernel.org/r/[email protected]
Cc: [email protected]
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Oliver Neukum <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions