aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-01-25 10:26:33 +0900
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-01-31 09:58:32 +0900
commit6e163f9b866a96ed6070f0653da477b3501d902a (patch)
tree258d0346d6225b6e6af253c126459b550585b734 /tools/perf/scripts/python/stackcollapse.py
parentata: libata-scsi: Simplify ata_scsi_mode_select_xlat() (diff)
downloadlinux-dev-6e163f9b866a96ed6070f0653da477b3501d902a.tar.xz
linux-dev-6e163f9b866a96ed6070f0653da477b3501d902a.zip
ata: libata-scsi: Simplify scsi_XX_lba_len()
In scsi_10_lba_len() and scsi_16_lba_len() functions, use get_unaligned_bexx() to access a cdb LBA and length fields instead of hardcoding the byte retrieval. With these simplification, the functions can also be declared inline. Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions