Re: [PATCH] i2c: busses: i2c-pxa.c: Fix for possible null pointer dereferenc

2014-06-27 Thread Wolfram Sang
On Tue, Jun 03, 2014 at 11:30:34PM +0200, Rickard Strandqvist wrote: > Fix for possible null pointer dereferenc, and there is a risk > for memory leak in when something unexpected happens and the > function returns. > > Signed-off-by: Rickard Strandqvist > --- > drivers/i2c/busses/i2c-pxa.c |

[PATCH] i2c: busses: i2c-pxa.c: Fix for possible null pointer dereferenc

2014-06-03 Thread Rickard Strandqvist
Fix for possible null pointer dereferenc, and there is a risk for memory leak in when something unexpected happens and the function returns. Signed-off-by: Rickard Strandqvist --- drivers/i2c/busses/i2c-pxa.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --gi