aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorMartin K. Petersen <[email protected]>2022-03-02 00:35:49 -0500
committerMartin K. Petersen <[email protected]>2022-05-02 16:59:10 -0400
commite17d63403076affccd72d195f93bbf3f39514005 (patch)
treefaf3a163106234c3195c14bc354f0e58221ec692 /tools/perf/scripts/python/netdev-times.py
parentc92a6b5d63359dd6d2ce6ea88ecd8e31dd769f6b (diff)
scsi: core: Pick suitable allocation length in scsi_report_opcode()
Some devices hang when a buffer size larger than expected is passed in the ALLOCATION LENGTH field. For REPORT SUPPORTED OPERATION CODES we currently only request a single command descriptor at a time and therefore the actual size of the command is known ahead of time. Limit the ALLOCATION LENGTH to the header size plus the command length of the opcode we are asking about. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions