From: Florian Fainelli <f.fainelli@gmail.com>
To: George McCollister <george.mccollister@gmail.com>,
Jakub Kicinski <kuba@kernel.org>
Cc: Andrew Lunn <andrew@lunn.ch>,
Vivien Didelot <vivien.didelot@gmail.com>,
Vladimir Oltean <olteanv@gmail.com>,
netdev@vger.kernel.org
Subject: Re: [PATCH net-next 1/2] net: dsa: xrs700x: fix unused warning for of_device_id
Date: Tue, 9 Feb 2021 13:27:53 -0800 [thread overview]
Message-ID: <b7f2b6c2-8b9f-7fcd-d3fd-843d3c15fbb9@gmail.com> (raw)
In-Reply-To: <20210209211256.111764-1-george.mccollister@gmail.com>
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@intel.com>
> Signed-off-by: George McCollister <george.mccollister@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
--
Florian
prev parent reply other threads:[~2021-02-09 23:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-09 21:12 [PATCH net-next 1/2] net: dsa: xrs700x: fix unused warning for of_device_id George McCollister
2021-02-09 21:12 ` [PATCH net-next 2/2] net: dsa: xrs700x: use of_match_ptr() on xrs700x_mdio_dt_ids George McCollister
2021-02-09 21:28 ` Florian Fainelli
2021-02-09 21:27 ` Florian Fainelli [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b7f2b6c2-8b9f-7fcd-d3fd-843d3c15fbb9@gmail.com \
--to=f.fainelli@gmail.com \
--cc=andrew@lunn.ch \
--cc=george.mccollister@gmail.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=vivien.didelot@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).