]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ata: libata: Change libata.force to use the generic ATA_QUIRK_MAX_SEC quirk
authorNiklas Cassel <cassel@kernel.org>
Tue, 2 Dec 2025 12:21:33 +0000 (13:21 +0100)
committerDamien Le Moal <dlemoal@kernel.org>
Mon, 15 Dec 2025 07:32:05 +0000 (16:32 +0900)
commitdfd975151df9f8ec69e14466f18c4b4af9823f88
tree003a39c0da6128dbb6890db53ae46ca781bdc73c
parent873abd72b8b54443ac7783d207be7333289f8287
ata: libata: Change libata.force to use the generic ATA_QUIRK_MAX_SEC quirk

Modify the existing libata.force parameters "max_sec_128" and
"max_sec_1024" to use the generic ATA_QUIRK_MAX_SEC quirk rather than
individual quirks.

This also allows us to remove the individual quirks ATA_QUIRK_MAX_SEC_128
and ATA_QUIRK_MAX_SEC_1024.

Signed-off-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
drivers/ata/libata-core.c
include/linux/ata.h
include/linux/libata.h