summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-10-27 08:21:12 +0300
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2023-01-14 01:32:42 +0300
commit77839debd1772204a60b9072ef6ae83ade1fb573 (patch)
tree3697e4503cd4562002eda2862cac00b05ad2d6a5 /tools/perf/scripts/python/exported-sql-viewer.py
parentfa5bde139ee43ab91087c01e690c61aec957c339 (diff)
downloadlinux-77839debd1772204a60b9072ef6ae83ade1fb573.tar.xz
ata: libata: Rename and cleanup ata_rwcmd_protocol()
Rename ata_rwcmd_protocol() to ata_set_rwcmd_protocol() to better reflect the fact that this function sets a task file command and protocol. The arguments order is also reversed and the function return type changed to a bool to indicate if the command and protocol were set correctly (instead of returning a completely arbitrary "-1" value. Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Niklas Cassel <niklas.cassel@wdc.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions