]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ata: libata: Add cpr_log to ata_dev_print_features() early return
authorNiklas Cassel <cassel@kernel.org>
Mon, 12 Jan 2026 12:20:49 +0000 (13:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Jan 2026 09:27:32 +0000 (10:27 +0100)
commit557b62028c0770ca24100fcffc28bbb701729356
tree4b3775775ef1306d90d63580913286ae16af5e9e
parente2d46e0b76cabbae98103331a0f2655d5e6d0827
ata: libata: Add cpr_log to ata_dev_print_features() early return

[ Upstream commit a6bee5e5243ad02cae575becc4c83df66fc29573 ]

ata_dev_print_features() is supposed to return early and not print anything
if there are no features supported.

However, commit fe22e1c2f705 ("libata: support concurrent positioning
ranges log") added another feature to ata_dev_print_features() without
updating the early return conditional.

Add the missing feature to the early return conditional.

Fixes: fe22e1c2f705 ("libata: support concurrent positioning ranges log")
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Tested-by: Wolf <wolf@yoxt.cc>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/ata/libata-core.c