aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2022-10-27 14:21:12 +0900
committerDamien Le Moal <[email protected]>2023-01-14 07:32:42 +0900
commit77839debd1772204a60b9072ef6ae83ade1fb573 (patch)
tree3697e4503cd4562002eda2862cac00b05ad2d6a5 /lib/test_fortify/write_overflow-strncpy-src.c
parentfa5bde139ee43ab91087c01e690c61aec957c339 (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 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions