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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 20 Jan 2022 11:30:52 -0600
From:   Rob Herring <robh@...nel.org>
To:     Michael Walle <michael@...le.cc>
Cc:     linux-kernel@...r.kernel.org, Rob Herring <robh+dt@...nel.org>,
        Frank Rowand <frowand.list@...il.com>,
        devicetree@...r.kernel.org
Subject: Re: [PATCH v3 1/3] of: base: make small of_parse_phandle() variants
 static inline

On Tue, 18 Jan 2022 18:35:02 +0100, Michael Walle wrote:
> Make all the smaller variants of the of_parse_phandle() static inline.
> This also let us remove the empty function stubs if CONFIG_OF is not
> defined.
> 
> Suggested-by: Rob Herring <robh@...nel.org>
> Signed-off-by: Michael Walle <michael@...le.cc>
> ---
> changes since v3:
>  - rebased due to now signed index parameter
> 
> changes since v2:
>  - new patch
> 
>  drivers/of/base.c  | 128 ++----------------------------------
>  include/linux/of.h | 157 +++++++++++++++++++++++++++++++++++++--------
>  2 files changed, 135 insertions(+), 150 deletions(-)
> 

I moved the index < 0 checks into __of_parse_phandle_with_args 
and applied, thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ