Commit 89531b6
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 b1f5af5 ("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: b1f5af5 ("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>1 parent a6bee5e commit 89531b6
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2872 | 2872 | | |
2873 | 2873 | | |
2874 | 2874 | | |
2875 | | - | |
| 2875 | + | |
| 2876 | + | |
2876 | 2877 | | |
2877 | 2878 | | |
2878 | 2879 | | |
| |||
0 commit comments