]> git.ipfire.org Git - thirdparty/linux.git/commit
ata: libata: Add DIPM and HIPM to ata_dev_print_features() early return
authorNiklas Cassel <cassel@kernel.org>
Mon, 12 Jan 2026 12:20:50 +0000 (13:20 +0100)
committerDamien Le Moal <dlemoal@kernel.org>
Tue, 13 Jan 2026 13:00:02 +0000 (22:00 +0900)
commit89531b68fc293e91187bf0992147e8d22c65cff3
treea662c8fa8caab6e9ae832556bc6e85ef733c1f99
parenta6bee5e5243ad02cae575becc4c83df66fc29573
ata: libata: Add DIPM and HIPM to ata_dev_print_features() early return

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

However, commit b1f5af54f1f5 ("ata: libata-core: Advertize device support
for DIPM and HIPM features") added additional features to
ata_dev_print_features() without updating the early return conditional.

Add the missing features to the early return conditional.

Fixes: b1f5af54f1f5 ("ata: libata-core: Advertize device support for DIPM and HIPM features")
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Tested-by: Wolf <wolf@yoxt.cc>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
drivers/ata/libata-core.c