[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b7f2b6c2-8b9f-7fcd-d3fd-843d3c15fbb9@gmail.com>
Date: Tue, 9 Feb 2021 13:27:53 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: George McCollister <george.mccollister@...il.com>,
Jakub Kicinski <kuba@...nel.org>
Cc: Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Vladimir Oltean <olteanv@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/2] net: dsa: xrs700x: fix unused warning for
of_device_id
On 2/9/21 1:12 PM, George McCollister wrote:
> Fix unused variable warning that occurs when CONFIG_OF isn't defined by
> adding __maybe_unused.
>
>>> drivers/net/dsa/xrs700x/xrs700x_i2c.c:127:34: warning: unused
> variable 'xrs700x_i2c_dt_ids' [-Wunused-const-variable]
> static const struct of_device_id xrs700x_i2c_dt_ids[] = {
>
> Reported-by: kernel test robot <lkp@...el.com>
> Signed-off-by: George McCollister <george.mccollister@...il.com>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists