summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2025-03-12 16:39:54 +0300
committerNiklas Cassel <cassel@kernel.org>2025-03-12 18:05:59 +0300
commit725ad0283033ee52c9bc73b5ea53fb7f6d496197 (patch)
tree9daa5dce547c32d598e445751b7259b035368708 /tools/perf/scripts/python/stackcollapse.py
parent885251dc35767b1c992f6909532ca366c830814a (diff)
downloadlinux-725ad0283033ee52c9bc73b5ea53fb7f6d496197.tar.xz
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 <chenhuacai@loongson.cn> Link: https://lore.kernel.org/r/20250312133954.6666-1-chenhuacai@loongson.cn [cassel: improve commit log] Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions