diff options
| author | Damien Le Moal <[email protected]> | 2022-10-27 14:21:12 +0900 |
|---|---|---|
| committer | Damien Le Moal <[email protected]> | 2023-01-14 07:32:42 +0900 |
| commit | 77839debd1772204a60b9072ef6ae83ade1fb573 (patch) | |
| tree | 3697e4503cd4562002eda2862cac00b05ad2d6a5 /tools/perf/scripts/python/bin | |
| parent | fa5bde139ee43ab91087c01e690c61aec957c339 (diff) | |
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 <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Niklas Cassel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions