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: <CACRpkda1t2bYZNgdjfSkey4RsSmnzT_NWJJUV8B_-0S06qN3gg@mail.gmail.com>
Date:   Fri, 8 Dec 2017 15:34:42 +0100
From:   Linus Walleij <linus.walleij@...aro.org>
To:     Bartosz Golaszewski <brgl@...ev.pl>
Cc:     linux-gpio@...r.kernel.org,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] gpio: mockup: fix a return value check

On Wed, Dec 6, 2017 at 5:30 PM, Bartosz Golaszewski <brgl@...ev.pl> wrote:

> The return value of platform_device_register_resndata() on error is
> an error code converted to pointer with ERR_PTR(), not NULL.
>
> Check the return value correctly.
>
> Fixes: 8a39f597bcfd ("gpio: mockup: rework device probing")
> Signed-off-by: Bartosz Golaszewski <brgl@...ev.pl>

Patch applied.

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ