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: <CACRpkdaKaTCg=JgiOY0UhzCApZLbsrqZncWnHq31RNqUW92xfA@mail.gmail.com>
Date:   Fri, 8 Feb 2019 15:49:08 +0100
From:   Linus Walleij <linus.walleij@...aro.org>
To:     Axel Lin <axel.lin@...ics.com>
Cc:     Mark Brown <broonie@...nel.org>,
        Liam Girdwood <lgirdwood@...il.com>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] regulator: lm363x: Check return value of gpiod_get_index_optional

On Fri, Feb 8, 2019 at 3:12 PM Axel Lin <axel.lin@...ics.com> wrote:

> gpiod_get_index_optional can return ERR_PTR, add IS_ERR checking for it.
> While at it, also remove a redundant NULL test for gpiod in error path.
>
> Signed-off-by: Axel Lin <axel.lin@...ics.com>

Acked-by: Linus Walleij <linus.walleij@...aro.org>

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ