Re: [PATCH 2/2] i2c: dln2: simplify return flow for dln2_i2c_enable

From: Octavian Purdila
Date: Mon Nov 17 2014 - 10:12:10 EST


On Mon, Nov 17, 2014 at 4:56 PM, Lee Jones <lee.jones@xxxxxxxxxx> wrote:
>
> On Thu, 13 Nov 2014, Wolfram Sang wrote:
>
> > On Tue, Nov 11, 2014 at 02:20:57PM +0200, Octavian Purdila wrote:
> > > This fixes the following kbuild test robot warning:
> > >
> > > >> drivers/i2c/busses/i2c-dln2.c:70:1-4: WARNING: end returns can be simplified if negative or 0 value
> > >
> > > Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
> > > Reported-by: Julia Lawall <julia.lawall@xxxxxxx>
> > >
> > > Signed-off-by: Octavian Purdila <octavian.purdila@xxxxxxxxx>
> >
> > Acked-by: Wolfram Sang <wsa@xxxxxxxxxxxxx>
> >
> > Lee, I think it is easiest if you simply add it to the branch you have
> > for this driver. OK?
>
> Octavian indicated that he needs to send a v2 of the second patch. I
> assume he will add your Ack to this patch when he does with a note
> saying that it needs to be added to the I2C IB.
>

Hi Lee,

Yes, I will to that, and add a couple more fixes from Dan Carpenter, a
little bit later tonight.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/