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] [day] [month] [year] [list]
Date:	Wed, 12 Mar 2014 15:54:05 +0100
From:	Linus Walleij <linus.walleij@...aro.org>
To:	Srinivas KANDAGATLA <srinivas.kandagatla@...com>
Cc:	kernel@...inux.com,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	srinivas.kandagatla@...il.com
Subject: Re: [PATCH] pinctrl: st: Fix error check for of_irq_to_resource usage

On Wed, Mar 12, 2014 at 2:35 PM,  <srinivas.kandagatla@...com> wrote:

> From: Srinivas Kandagatla <srinivas.kandagatla@...com>
>
> This patch fixes an error check while using of_irq_to_resource.
> of_irq_to_resource returns non-zero interrupt number on success and zero
> on error. The driver was using error check is wrong way.
>
> Without this patch the driver will configure interrupt zero if there is
> no interrupt specified in the node.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@...com>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ