lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220809201235.GA2314138-robh@kernel.org>
Date:   Tue, 9 Aug 2022 14:12:35 -0600
From:   Rob Herring <robh@...nel.org>
To:     Vladimir Oltean <vladimir.oltean@....com>
Cc:     Claudiu Manoil <claudiu.manoil@....com>,
        Pawel Dembicki <paweldembicki@...il.com>,
        Hauke Mehrtens <hauke@...ke-m.de>,
        DENG Qingfang <dqfext@...il.com>,
        "David S. Miller" <davem@...emloft.net>,
        Andrew Lunn <andrew@...n.ch>,
        Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
        Linus Walleij <linus.walleij@...aro.org>,
        Vivien Didelot <vivien.didelot@...il.com>,
        Sean Wang <sean.wang@...iatek.com>,
        Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
        Luiz Angelo Daros de Luca <luizluca@...il.com>,
        Eric Dumazet <edumazet@...gle.com>,
        Arun Ramadoss <arun.ramadoss@...rochip.com>,
        Florian Fainelli <f.fainelli@...il.com>,
        Frank Rowand <frowand.list@...il.com>,
        Matthias Brugger <matthias.bgg@...il.com>,
        Vladimir Oltean <olteanv@...il.com>,
        Geert Uytterhoeven <geert+renesas@...der.be>,
        Jakub Kicinski <kuba@...nel.org>, devicetree@...r.kernel.org,
        Paolo Abeni <pabeni@...hat.com>,
        Alexandre Belloni <alexandre.belloni@...tlin.com>,
        John Crispin <john@...ozen.org>, Marek Vasut <marex@...x.de>,
        Aleksander Jan Bajkowski <olek2@...pl>,
        Woojung Huh <woojung.huh@...rochip.com>,
        Clément Léger <clement.leger@...tlin.com>,
        Christian Marangi <ansuelsmth@...il.com>,
        Russell King <rmk+kernel@...linux.org.uk>,
        UNGLinuxDriver@...rochip.com, Marcin Wojtas <mw@...ihalf.com>,
        Rob Herring <robh+dt@...nel.org>, netdev@...r.kernel.org,
        Alvin Šipraga <alsi@...g-olufsen.dk>,
        Oleksij Rempel <linux@...pel-privat.de>,
        linux-renesas-soc@...r.kernel.org,
        Marek Behún <kabel@...nel.org>,
        George McCollister <george.mccollister@...il.com>,
        Kurt Kanzenbach <kurt@...utronix.de>,
        Landen Chao <Landen.Chao@...iatek.com>,
        Mans Rullgard <mans@...sr.com>
Subject: Re: [RFC PATCH v3 net-next 07/10] of: base: export
 of_device_compatible_match() for use in modules

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@...nel.org>
> Cc: Frank Rowand <frowand.list@...il.com>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@....com>
> ---
> v1->v2: patch is new
> v2->v3: none
> 
>  drivers/of/base.c | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ