Re: [RFC PATCH 3/3] i2c: inititalise the actual transferred to zero

2012-07-16 Thread Felipe Balbi
Hi, On Mon, Jul 02, 2012 at 03:20:58PM +0200, Jean Delvare wrote: Hi Felipe, On Mon, 2 Jul 2012 14:54:23 +0300, Felipe Balbi wrote: On Fri, Jun 29, 2012 at 03:18:32PM +0200, Jean Delvare wrote: Well you've seen the caveats I mentioned, this will be no easy ride. If you are willing to

Re: [RFC PATCH 3/3] i2c: inititalise the actual transferred to zero

2012-07-02 Thread Felipe Balbi
Hi, On Fri, Jun 29, 2012 at 03:18:32PM +0200, Jean Delvare wrote: On Fri, 29 Jun 2012 18:42:08 +0530, Shubhrajyoti wrote: On Friday 29 June 2012 06:27 PM, Jean Delvare wrote: drivers/gpu/drm/nouveau/nouveau_bios.c:3535:3: warning: (near initialization for ‘msg[1].actual’) [enabled by

Re: [RFC PATCH 3/3] i2c: inititalise the actual transferred to zero

2012-07-02 Thread Jean Delvare
Hi Felipe, On Mon, 2 Jul 2012 14:54:23 +0300, Felipe Balbi wrote: On Fri, Jun 29, 2012 at 03:18:32PM +0200, Jean Delvare wrote: Well you've seen the caveats I mentioned, this will be no easy ride. If you are willing to take the risk, spend the time documenting the change, and help people

[RFC PATCH 3/3] i2c: inititalise the actual transferred to zero

2012-06-29 Thread Shubhrajyoti D
In i2c_smbus_xfer_emulated initialise the actual bytes to zero. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/i2c/i2c-core.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index a6ad32b..fa7f799 100644

Re: [RFC PATCH 3/3] i2c: inititalise the actual transferred to zero

2012-06-29 Thread Jean Delvare
On Fri, 29 Jun 2012 16:35:27 +0530, Shubhrajyoti D wrote: In i2c_smbus_xfer_emulated initialise the actual bytes to zero. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/i2c/i2c-core.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [RFC PATCH 3/3] i2c: inititalise the actual transferred to zero

2012-06-29 Thread Jean Delvare
On Fri, 29 Jun 2012 14:40:02 +0200, Jean Delvare wrote: On Fri, 29 Jun 2012 16:35:27 +0530, Shubhrajyoti D wrote: In i2c_smbus_xfer_emulated initialise the actual bytes to zero. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/i2c/i2c-core.c |4 ++-- 1 files

Re: [RFC PATCH 3/3] i2c: inititalise the actual transferred to zero

2012-06-29 Thread Shubhrajyoti
On Friday 29 June 2012 06:27 PM, Jean Delvare wrote: drivers/gpu/drm/nouveau/nouveau_bios.c:3535:3: warning: (near initialization for ‘msg[1].actual’) [enabled by default] This needs to be all fixed (converted to C99-style struct initialization) before your patch is considered for inclusion.

Re: [RFC PATCH 3/3] i2c: inititalise the actual transferred to zero

2012-06-29 Thread Jean Delvare
On Fri, 29 Jun 2012 18:42:08 +0530, Shubhrajyoti wrote: On Friday 29 June 2012 06:27 PM, Jean Delvare wrote: drivers/gpu/drm/nouveau/nouveau_bios.c:3535:3: warning: (near initialization for ‘msg[1].actual’) [enabled by default] This needs to be all fixed (converted to C99-style struct