diff options
| author | Damien Le Moal <[email protected]> | 2025-04-18 06:40:14 +0000 |
|---|---|---|
| committer | Damien Le Moal <[email protected]> | 2025-04-22 07:05:14 +0000 |
| commit | db91586b1e8f36122a9e5b8fbced11741488dd22 (patch) | |
| tree | fb178ab08b201e73c42acb5e2f124266df8e462f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | ata: libata-sata: Save all fields from sense data descriptor (diff) | |
| download | kernel-db91586b1e8f36122a9e5b8fbced11741488dd22.tar.gz kernel-db91586b1e8f36122a9e5b8fbced11741488dd22.zip | |
ata: libata-scsi: Fix ata_mselect_control_ata_feature() return type
The function ata_mselect_control_ata_feature() has a return type defined
as unsigned int but this function may return negative error codes, which
are correctly propagated up the call chain as integers.
Fix ata_mselect_control_ata_feature() to have the correct int return
type.
While at it, also fix a typo in this function description comment.
Fixes: df60f9c64576 ("scsi: ata: libata: Add ATA feature control sub-page translation")
Cc: [email protected]
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Niklas Cassel <[email protected]>
Reviewed-by: Igor Pylypiv <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
