Re: [PATCH] net: dsa: microchip: remove of_match_ptr() from ksz9477_dt_ids

From: Paolo Abeni
Date: Thu Jul 28 2022 - 09:15:47 EST


On Wed, 2022-07-27 at 08:22 +0530, Souptick Joarder wrote:
> From: "Souptick Joarder (HPE)" <jrdr.linux@xxxxxxxxx>
>
> > > drivers/net/dsa/microchip/ksz9477_i2c.c:89:34:
> warning: 'ksz9477_dt_ids' defined but not used [-Wunused-const-variable=]
> 89 | static const struct of_device_id ksz9477_dt_ids[] = {
> | ^~~~~~~~~~~~~~
>
> Removed of_match_ptr() from ksz9477_dt_ids.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Souptick Joarder (HPE) <jrdr.linux@xxxxxxxxx>

As this looks like a fix, could you please post a new revision of the
patch including into the commit message a proper 'Fixes' tag?

Thanks!

Paolo