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]
Date:   Sat, 2 Dec 2017 21:25:51 +0100
From:   Linus Walleij <>
To:     Arvind Yadav <>
Cc:     "" <>,
Subject: Re: [PATCH v2] gpio: ftgpio010: Fix platform_get_irq's error checking

On Sat, Dec 2, 2017 at 6:01 PM, Arvind Yadav <> wrote:

> The platform_get_irq() function returns negative if an error occurs.
> zero or positive number on success. platform_get_irq() error checking
> for zero is not correct.
> Signed-off-by: Arvind Yadav <>
> ---
> changes in v2:
>              It's should be 'irq <= 0' instead of 'irq < 0'.

Yep that's the right patch! Patch applied.

Linus Walleij

Powered by blists - more mailing lists