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-next>] [day] [month] [year] [list]
Date:	Thu, 18 Jun 2015 18:41:14 +0200
From:	Alexandre Belloni <alexandre.belloni@...e-electrons.com>
To:	Nicholas Krause <xerofoify@...il.com>
Cc:	balbi@...com, gregkh@...uxfoundation.org, nicolas.ferre@...el.com,
	boris.brezillon@...e-electrons.com, peter.chen@...escale.com,
	ronald.wahl@...itan.com, voice.shen@...el.com,
	linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb:gadget:Simplify the error checking of the
 function,at91sam9261_udc_init

On 03/05/2015 at 23:25:02 -0400, Nicholas Krause wrote :
> This simplifies the error checking of the function,at91sam9261_udc_init
> by using PTR_ERR_OR_ZERO in the return statement rather then a unnessary
> if statement to check the return value of a call to the function,
> syscon_regmap_lookup_by_phandle by checking with a call to the function,
> IS_ERR and returning a error pointer if there is one for the function,
> at91sam9261_udc_init. Furthermore this was found by running coccinelle
> against the lastest kernel tree.
> 
> Signed-off-by: Nicholas Krause <xerofoify@...il.com>
Acked-by: Alexandre Belloni <alexandre.belloni@...e-electrons.com>

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
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