Subject: Re: [net: PATCH] net: mvmdio: fix compilation warning

From: Andrew Lunn <[email-masked]>
Date: Mon, 15 Nov 2021 20:35:08 +0100

On Mon, Nov 15, 2021 at 04:30:24PM +0100, Marcin Wojtas wrote:
> The kernel test robot reported a following issue:
> 
> >> drivers/net/ethernet/marvell/mvmdio.c:426:36: warning:
> unused variable 'orion_mdio_acpi_match' [-Wunused-const-variable]
>    static const struct acpi_device_id orion_mdio_acpi_match[] = {

How come OF never gives these warning, just ACPI? If there something
missing in ACPI which OF has?

> Fixes: c54da4c1acb1 ("net: mvmdio: add ACPI support")
> Reported-by: kernel test robot <[email-masked]>
> Signed-off-by: Marcin Wojtas <[email-masked]>

Reviewed-by: Andrew Lunn <[email-masked]>

    Andrew