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: <87ttypnnok.fsf@kernel.org>
Date:   Mon, 13 Mar 2023 08:57:31 +0200
From:   Kalle Valo <kvalo@...nel.org>
To:     Rob Herring <robh@...nel.org>
Cc:     Wolfgang Grandegger <wg@...ndegger.com>,
        Marc Kleine-Budde <mkl@...gutronix.de>,
        "David S. Miller" <davem@...emloft.net>,
        Eric Dumazet <edumazet@...gle.com>,
        Jakub Kicinski <kuba@...nel.org>,
        Paolo Abeni <pabeni@...hat.com>,
        Nicolas Ferre <nicolas.ferre@...rochip.com>,
        Claudiu Beznea <claudiu.beznea@...rochip.com>,
        Wei Fang <wei.fang@....com>,
        Shenwei Wang <shenwei.wang@....com>,
        Clark Wang <xiaoning.wang@....com>,
        NXP Linux Team <linux-imx@....com>,
        Claudiu Manoil <claudiu.manoil@....com>,
        Giuseppe Cavallaro <peppe.cavallaro@...com>,
        Alexandre Torgue <alexandre.torgue@...s.st.com>,
        Jose Abreu <joabreu@...opsys.com>,
        Shawn Guo <shawnguo@...nel.org>,
        Sascha Hauer <s.hauer@...gutronix.de>,
        Pengutronix Kernel Team <kernel@...gutronix.de>,
        Fabio Estevam <festevam@...il.com>,
        Maxime Coquelin <mcoquelin.stm32@...il.com>,
        Grygorii Strashko <grygorii.strashko@...com>,
        Francois Romieu <romieu@...zoreil.com>,
        Michal Simek <michal.simek@...inx.com>,
        Zhao Qiang <qiang.zhao@....com>,
        Samuel Mendoza-Jonas <sam@...dozajonas.com>,
        devicetree@...r.kernel.org, linux-can@...r.kernel.org,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-stm32@...md-mailman.stormreply.com,
        linux-arm-kernel@...ts.infradead.org, linux-omap@...r.kernel.org,
        linuxppc-dev@...ts.ozlabs.org, linux-wireless@...r.kernel.org
Subject: Re: [PATCH] net: Use of_property_read_bool() for boolean properties

Rob Herring <robh@...nel.org> writes:

> It is preferred to use typed property access functions (i.e.
> of_property_read_<type> functions) rather than low-level
> of_get_property/of_find_property functions for reading properties.
> Convert reading boolean properties to to of_property_read_bool().
>
> Signed-off-by: Rob Herring <robh@...nel.org>
> ---
>  drivers/net/can/cc770/cc770_platform.c          | 12 ++++++------
>  drivers/net/ethernet/cadence/macb_main.c        |  2 +-
>  drivers/net/ethernet/davicom/dm9000.c           |  4 ++--
>  drivers/net/ethernet/freescale/fec_main.c       |  2 +-
>  drivers/net/ethernet/freescale/fec_mpc52xx.c    |  2 +-
>  drivers/net/ethernet/freescale/gianfar.c        |  4 ++--
>  drivers/net/ethernet/ibm/emac/core.c            |  8 ++++----
>  drivers/net/ethernet/ibm/emac/rgmii.c           |  2 +-
>  drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c |  3 +--
>  drivers/net/ethernet/sun/niu.c                  |  2 +-
>  drivers/net/ethernet/ti/cpsw-phy-sel.c          |  3 +--
>  drivers/net/ethernet/ti/netcp_ethss.c           |  8 +++-----
>  drivers/net/ethernet/via/via-velocity.c         |  3 +--
>  drivers/net/ethernet/xilinx/ll_temac_main.c     |  9 ++++-----
>  drivers/net/wan/fsl_ucc_hdlc.c                  | 11 +++--------
>  drivers/net/wireless/ti/wlcore/spi.c            |  3 +--
>  net/ncsi/ncsi-manage.c                          |  4 ++--
>  17 files changed, 35 insertions(+), 47 deletions(-)

For wireless:

Acked-by: Kalle Valo <kvalo@...nel.org>

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ