diff options
| author | Huacai Chen <[email protected]> | 2025-03-12 13:39:54 +0000 |
|---|---|---|
| committer | Niklas Cassel <[email protected]> | 2025-03-12 15:05:59 +0000 |
| commit | 725ad0283033ee52c9bc73b5ea53fb7f6d496197 (patch) | |
| tree | 9daa5dce547c32d598e445751b7259b035368708 /lib/net_utils.c | |
| parent | ahci: add PCI ID for Marvell 88SE9215 SATA Controller (diff) | |
| download | kernel-725ad0283033ee52c9bc73b5ea53fb7f6d496197.tar.gz kernel-725ad0283033ee52c9bc73b5ea53fb7f6d496197.zip | |
ata: libata: Improve return value of atapi_check_dma()
atapi_check_dma() allows a LLD to filter ATAPI commands, returning a
status indicating whether or not it is OK to use DMA for the supplied
ATAPI command.
Change atapi_check_dma() to return -EOPNOTSUPP instead of 1 for an
ATAPI command that is not allowed to use DMA.
Signed-off-by: Huacai Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[cassel: improve commit log]
Signed-off-by: Niklas Cassel <[email protected]>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions
