diff options
| author | 2022-10-27 14:21:12 +0900 | |
|---|---|---|
| committer | 2023-01-14 07:32:42 +0900 | |
| commit | 77839debd1772204a60b9072ef6ae83ade1fb573 (patch) | |
| tree | 3697e4503cd4562002eda2862cac00b05ad2d6a5 /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | ata: libata: Introduce ata_ncq_supported() (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 <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 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
