Re: [PATCH 1/2] media: intel: ipu-bridge: add sentinel to ivsc_acpi_ids
From: Sakari Ailus
Date: Sun Jun 07 2026 - 16:41:36 EST
Hi Hungyu,
On Sun, Jun 07, 2026 at 01:08:52PM +0000, Hungyu Lin wrote:
> Add a terminating empty entry to ivsc_acpi_ids[].
>
> The table currently contains only valid ACPI IDs. Add a
> terminating entry to follow the common convention used by
> device ID tables.
>
> No functional change intended.
>
> Signed-off-by: Hungyu Lin <dennylin0707@xxxxxxxxx>
> ---
> drivers/media/pci/intel/ipu-bridge.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/media/pci/intel/ipu-bridge.c b/drivers/media/pci/intel/ipu-bridge.c
> index fc6608e33de4..471a449f11f6 100644
> --- a/drivers/media/pci/intel/ipu-bridge.c
> +++ b/drivers/media/pci/intel/ipu-bridge.c
> @@ -168,6 +168,7 @@ static const struct acpi_device_id ivsc_acpi_ids[] = {
> { "INTC1095" },
> { "INTC100A" },
> { "INTC10CF" },
> + {}
There's no need to add a sentinel entry to the array as the code working on
it relies on its length for the boundary check (not its contents).
> };
>
> static struct acpi_device *ipu_bridge_get_ivsc_acpi_dev(struct acpi_device *adev)
--
Regards,
Sakari Ailus