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] [day] [month] [year] [list]
Message-ID: <20160915133459.GA14424@rob-hp-laptop>
Date:   Thu, 15 Sep 2016 08:34:59 -0500
From:   Rob Herring <robh@...nel.org>
To:     Richard Fitzgerald <rf@...nsource.wolfsonmicro.com>
Cc:     frowand.list@...il.com, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org, patches@...nsource.wolfsonmicro.com
Subject: Re: [PATCH v2 1/2] of: Make of_find_property_value_of_size take a
 length range

On Mon, Sep 12, 2016 at 02:01:28PM +0100, Richard Fitzgerald wrote:
> In preparation for adding variable-length array reads, change
> of_find_property_value_of_size so that it takes an optional
> maximum length. If the maximum is passed as 0, the behaviour is
> unchanged and it will return a property if it's >= the requested
> minimum length. If maximum is non-zero it will only return a
> property whose length is min <= l <= max.
> 
> Signed-off-by: Richard Fitzgerald <rf@...nsource.wolfsonmicro.com>
> ---
>  drivers/of/base.c | 39 +++++++++++++++++++++++++++++----------
>  1 file changed, 29 insertions(+), 10 deletions(-)

Applied both patches, thanks.

Rob

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ