Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1168250

Re: [PATCH] usb:gadget:Simplify the error checking of the function,at91sam9261_udc_init

From Greg KH <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] usb:gadget:Simplify the error checking of the function,at91sam9261_udc_init
Date 2015-06-18 21:40 +0200
Message-ID <pCNPk-1bG-9@gated-at.bofh.it> (permalink)
References <pCLaN-5HL-5@gated-at.bofh.it> <pCLaN-5HL-3@gated-at.bofh.it> <pCNmi-E4-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jun 18, 2015 at 09:04:52PM +0200, Alexandre Belloni wrote:
> On 18/06/2015 at 18:41:14 +0200, Alexandre Belloni wrote :
> > 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@gmail.com>
> > Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> > 
> 
> OK, it seems the original patch got ignored by all the mailing lists. To
> bad, that one was actually applicable :)

Nick is banned from vger.kernel.org, so that is why his patches will not
ever show up.  I recommend that you do the same if possible.

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] usb:gadget:Simplify the error checking of the  function,at91sam9261_udc_init Greg KH <gregkh@linuxfoundation.org> - 2015-06-18 21:40 +0200

csiph-web