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

From: Lee Jones
Date: Mon Nov 17 2014 - 09:57:07 EST

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.

Lee Jones
Linaro STMicroelectronics Landing Team Lead â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at