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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 23 Nov 2017 21:25:28 +0530
From:   Arvind Yadav <arvind.yadav.cs@...il.com>
To:     myungjoo.ham@...sung.com, cw00.choi@...sung.com, wens@...e.org
Cc:     linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] Handle return value and error checking of platform_get_irq

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.
platform_get_irq() can fail here and we must check its return value.

Arvind Yadav (2):
  [PATCH 1/2] extcon: adc-jack: Fix platform_get_irq's error checking
  [PATCH 2/2] extcon: axp288:: Handle return value of platform_get_irq

 drivers/extcon/extcon-adc-jack.c | 2 +-
 drivers/extcon/extcon-axp288.c   | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

-- 
2.7.4

Powered by blists - more mailing lists