Netdev Archive on
help / color / mirror / Atom feed
From: David Miller <>
Subject: Re: [PATCH net-next] net: dsa: mv88e6xxx: Fix W=1 warning with !CONFIG_OF
Date: Tue, 01 Sep 2020 15:34:19 -0700 (PDT)	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

From: Andrew Lunn <>
Date: Tue,  1 Sep 2020 04:32:57 +0200

> When building on platforms without device tree, e.g. amd64, W=1 gives
> a warning about mv88e6xxx_mdio_external_match being unused. Replace
> of_match_node() with of_device_is_compatible() to prevent this
> warning.
> Suggested-by: Andy Shevchenko <>
> Signed-off-by: Andrew Lunn <>

Applied, thanks Andrew.

      reply	other threads:[~2020-09-01 22:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-01  2:32 Andrew Lunn
2020-09-01 22:34 ` David Miller [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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH net-next] net: dsa: mv88e6xxx: Fix W=1 warning with '\!'CONFIG_OF' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).