public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel•org>
To: Vladimir Oltean <vladimir.oltean@nxp•com>
Cc: "Claudiu Manoil" <claudiu.manoil@nxp•com>,
	"Pawel Dembicki" <paweldembicki@gmail•com>,
	"Hauke Mehrtens" <hauke@hauke-m•de>,
	"DENG Qingfang" <dqfext@gmail•com>,
	"David S. Miller" <davem@davemloft•net>,
	"Andrew Lunn" <andrew@lunn•ch>,
	"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro•org>,
	"Linus Walleij" <linus.walleij@linaro•org>,
	"Vivien Didelot" <vivien.didelot@gmail•com>,
	"Sean Wang" <sean.wang@mediatek•com>,
	"Martin Blumenstingl" <martin.blumenstingl@googlemail•com>,
	"Luiz Angelo Daros de Luca" <luizluca@gmail•com>,
	"Eric Dumazet" <edumazet@google•com>,
	"Arun Ramadoss" <arun.ramadoss@microchip•com>,
	"Florian Fainelli" <f.fainelli@gmail•com>,
	"Frank Rowand" <frowand.list@gmail•com>,
	"Matthias Brugger" <matthias.bgg@gmail•com>,
	"Vladimir Oltean" <olteanv@gmail•com>,
	"Geert Uytterhoeven" <geert+renesas@glider•be>,
	"Jakub Kicinski" <kuba@kernel•org>,
	devicetree@vger•kernel.org, "Paolo Abeni" <pabeni@redhat•com>,
	"Alexandre Belloni" <alexandre.belloni@bootlin•com>,
	"John Crispin" <john@phrozen•org>, "Marek Vasut" <marex@denx•de>,
	"Aleksander Jan Bajkowski" <olek2@wp•pl>,
	"Woojung Huh" <woojung.huh@microchip•com>,
	"Clément Léger" <clement.leger@bootlin•com>,
	"Christian Marangi" <ansuelsmth@gmail•com>,
	"Russell King" <rmk+kernel@armlinux•org.uk>,
	UNGLinuxDriver@microchip•com, "Marcin Wojtas" <mw@semihalf•com>,
	"Rob Herring" <robh+dt@kernel•org>,
	netdev@vger•kernel.org, "Alvin Šipraga" <alsi@bang-olufsen•dk>,
	"Oleksij Rempel" <linux@rempel-privat•de>,
	linux-renesas-soc@vger•kernel.org,
	"Marek Behún" <kabel@kernel•org>,
	"George McCollister" <george.mccollister@gmail•com>,
	"Kurt Kanzenbach" <kurt@linutronix•de>,
	"Landen Chao" <Landen.Chao@mediatek•com>,
	"Mans Rullgard" <mans@mansr•com>
Subject: Re: [RFC PATCH v3 net-next 07/10] of: base: export of_device_compatible_match() for use in modules
Date: Tue, 9 Aug 2022 14:12:35 -0600	[thread overview]
Message-ID: <20220809201235.GA2314138-robh@kernel.org> (raw)
In-Reply-To: <20220806141059.2498226-8-vladimir.oltean@nxp.com>

On Sat, 06 Aug 2022 17:10:56 +0300, Vladimir Oltean wrote:
> Modules such as net/dsa/dsa_core.ko might want to iterate through an
> array of compatible strings for things such as validation (or rather,
> skipping it for some potentially broken drivers).
> 
> of_device_is_compatible() is exported, by of_device_compatible_match()
> isn't. Export the latter as well, so we don't have to open-code the
> iteration.
> 
> Cc: Rob Herring <robh+dt@kernel•org>
> Cc: Frank Rowand <frowand.list@gmail•com>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp•com>
> ---
> v1->v2: patch is new
> v2->v3: none
> 
>  drivers/of/base.c | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel•org>

  reply	other threads:[~2022-08-09 20:12 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-06 14:10 [RFC PATCH v3 net-next 00/10] Validate OF nodes for DSA shared ports Vladimir Oltean
2022-08-06 14:10 ` [RFC PATCH v3 net-next 01/10] dt-bindings: net: dsa: xrs700x: add missing CPU port phy-mode to example Vladimir Oltean
2022-08-09 20:11   ` Rob Herring
2022-08-06 14:10 ` [RFC PATCH v3 net-next 02/10] dt-bindings: net: dsa: hellcreek: add missing CPU port phy-mode/fixed-link " Vladimir Oltean
2022-08-08  5:31   ` Kurt Kanzenbach
2022-08-09 20:11   ` Rob Herring
2022-08-06 14:10 ` [RFC PATCH v3 net-next 03/10] dt-bindings: net: dsa: b53: add missing CPU port phy-mode " Vladimir Oltean
2022-08-09 20:11   ` Rob Herring
2022-08-06 14:10 ` [RFC PATCH v3 net-next 04/10] dt-bindings: net: dsa: microchip: " Vladimir Oltean
2022-08-09 20:11   ` Rob Herring
2022-08-06 14:10 ` [RFC PATCH v3 net-next 05/10] dt-bindings: net: dsa: rzn1-a5psw: " Vladimir Oltean
2022-08-09 20:11   ` Rob Herring
2022-08-06 14:10 ` [RFC PATCH v3 net-next 06/10] dt-bindings: net: dsa: make phylink bindings required for CPU/DSA ports Vladimir Oltean
2022-08-09 20:12   ` Rob Herring
2022-08-06 14:10 ` [RFC PATCH v3 net-next 07/10] of: base: export of_device_compatible_match() for use in modules Vladimir Oltean
2022-08-09 20:12   ` Rob Herring [this message]
2022-08-06 14:10 ` [RFC PATCH v3 net-next 08/10] net: dsa: avoid dsa_port_link_{,un}register_of() calls with platform data Vladimir Oltean
2022-08-06 14:10 ` [RFC PATCH v3 net-next 09/10] net: dsa: rename dsa_port_link_{,un}register_of Vladimir Oltean
2022-08-06 14:10 ` [RFC PATCH v3 net-next 10/10] net: dsa: make phylink-related OF properties mandatory on DSA and CPU ports Vladimir Oltean
2022-08-06 19:58   ` Christian Marangi
2022-08-08  7:31     ` Vladimir Oltean
2022-08-09  8:24   ` Kurt Kanzenbach
2022-08-10  9:52     ` Vladimir Oltean

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=20220809201235.GA2314138-robh@kernel.org \
    --to=robh@kernel$(echo .)org \
    --cc=Landen.Chao@mediatek$(echo .)com \
    --cc=UNGLinuxDriver@microchip$(echo .)com \
    --cc=alexandre.belloni@bootlin$(echo .)com \
    --cc=alsi@bang-olufsen$(echo .)dk \
    --cc=andrew@lunn$(echo .)ch \
    --cc=ansuelsmth@gmail$(echo .)com \
    --cc=arun.ramadoss@microchip$(echo .)com \
    --cc=claudiu.manoil@nxp$(echo .)com \
    --cc=clement.leger@bootlin$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=devicetree@vger$(echo .)kernel.org \
    --cc=dqfext@gmail$(echo .)com \
    --cc=edumazet@google$(echo .)com \
    --cc=f.fainelli@gmail$(echo .)com \
    --cc=frowand.list@gmail$(echo .)com \
    --cc=geert+renesas@glider$(echo .)be \
    --cc=george.mccollister@gmail$(echo .)com \
    --cc=hauke@hauke-m$(echo .)de \
    --cc=john@phrozen$(echo .)org \
    --cc=kabel@kernel$(echo .)org \
    --cc=krzysztof.kozlowski+dt@linaro$(echo .)org \
    --cc=kuba@kernel$(echo .)org \
    --cc=kurt@linutronix$(echo .)de \
    --cc=linus.walleij@linaro$(echo .)org \
    --cc=linux-renesas-soc@vger$(echo .)kernel.org \
    --cc=linux@rempel-privat$(echo .)de \
    --cc=luizluca@gmail$(echo .)com \
    --cc=mans@mansr$(echo .)com \
    --cc=marex@denx$(echo .)de \
    --cc=martin.blumenstingl@googlemail$(echo .)com \
    --cc=matthias.bgg@gmail$(echo .)com \
    --cc=mw@semihalf$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=olek2@wp$(echo .)pl \
    --cc=olteanv@gmail$(echo .)com \
    --cc=pabeni@redhat$(echo .)com \
    --cc=paweldembicki@gmail$(echo .)com \
    --cc=rmk+kernel@armlinux$(echo .)org.uk \
    --cc=robh+dt@kernel$(echo .)org \
    --cc=sean.wang@mediatek$(echo .)com \
    --cc=vivien.didelot@gmail$(echo .)com \
    --cc=vladimir.oltean@nxp$(echo .)com \
    --cc=woojung.huh@microchip$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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