Re: [PATCH 1/2] ata: use named initializers for acpi_device_id
[email protected] Mon, 03 Aug 2026 15:14:16 +0000
| Newsgroups | gmane.linux.ide |
|---|---|
| Message-ID | <[email protected]> |
Thank you for your contribution! Sashiko AI review found 1 potential issue(= s) to consider: - [Low] Incomplete refactoring: ahci_seattle.c was missed when unifying acp= i_device_id initialization. -- --- Patch [1]: [PATCH 1/2] ata: use named initializers for acpi_device_id -= -- commit f6b3d365ff5924969c9b77b57308411fcb82b7e1 Author: Pawel Zalewski (The Capable Hub) <[email protected]> ata: use named initializers for acpi_device_id This commit updates acpi_device_id initializers in the ATA subsystem to use named fields. It also unifies the list terminators across these files to have a single space between the brackets. > ata: use named initializers for acpi_device_id >=20 > Use a named initializer for the acpi_device_id fields which > makes the code more readable and consistent with how lists > are initialized in the rest of the kernel code base. >=20 > While we are at it - unify the list terminator to have > a single space between the brackets and no trailing > comma. [Severity: Low] Was ahci_seattle.c missed during this refactoring?=20 It appears drivers/ata/ahci_seattle.c still contains an old style initializer and a list terminator without a space: drivers/ata/ahci_seattle.c:ahci_acpi_match() { static const struct acpi_device_id ahci_acpi_match[] =3D { { "AMDI0600", 0 }, {} }; >=20 > Signed-off-by: Pawel Zalewski (The Capable Hub) <pzalewski@thegoodpenguin= .co.uk> >=20 > diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c > index c18054333f7c9..d97f0ad3b4cd7 100644 > --- a/drivers/ata/ahci_platform.c > +++ b/drivers/ata/ahci_platform.c [ ... ] --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20260803-ata-acpi-v= [email protected]?part=3D1