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


Groups > linux.kernel > #1168250 > unrolled thread

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

Started byGreg KH <gregkh@linuxfoundation.org>
First post2015-06-18 21:40 +0200
Last post2015-06-18 21:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

FromGreg KH <gregkh@linuxfoundation.org>
Date2015-06-18 21:40 +0200
SubjectRe: [PATCH] usb:gadget:Simplify the error checking of the function,at91sam9261_udc_init
Message-ID<pCNPk-1bG-9@gated-at.bofh.it>
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web