Re: [PATCH] i2c: add sanity check to i2c_put_adapter

2013-08-07 Thread Wolfram Sang
On Thu, Aug 01, 2013 at 02:10:46PM +0200, Sebastian Hesselbarth wrote: > i2c_put_adapter dereferences i2c_adapter pointer passed without check > for NULL. This adds a check for non-NULL pointer to allow i2c_put_adapter > called with NULL and behave the same way i2c_release_client does already. >

Re: [PATCH] i2c: add sanity check to i2c_put_adapter

2013-08-07 Thread Wolfram Sang
On Thu, Aug 01, 2013 at 02:10:46PM +0200, Sebastian Hesselbarth wrote: i2c_put_adapter dereferences i2c_adapter pointer passed without check for NULL. This adds a check for non-NULL pointer to allow i2c_put_adapter called with NULL and behave the same way i2c_release_client does already.

Re: [PATCH] i2c: add sanity check to i2c_put_adapter

2013-08-05 Thread Wolfram Sang
On Mon, Aug 05, 2013 at 11:31:42AM +0200, Sebastian Hesselbarth wrote: > On 08/05/13 11:00, Wolfram Sang wrote: > >On Thu, Aug 01, 2013 at 02:10:46PM +0200, Sebastian Hesselbarth wrote: > >>i2c_put_adapter dereferences i2c_adapter pointer passed without check > >>for NULL. This adds a check for

Re: [PATCH] i2c: add sanity check to i2c_put_adapter

2013-08-05 Thread Sebastian Hesselbarth
On 08/05/13 11:00, Wolfram Sang wrote: On Thu, Aug 01, 2013 at 02:10:46PM +0200, Sebastian Hesselbarth wrote: i2c_put_adapter dereferences i2c_adapter pointer passed without check for NULL. This adds a check for non-NULL pointer to allow i2c_put_adapter called with NULL and behave the same way

Re: [PATCH] i2c: add sanity check to i2c_put_adapter

2013-08-05 Thread Wolfram Sang
On Thu, Aug 01, 2013 at 02:10:46PM +0200, Sebastian Hesselbarth wrote: > i2c_put_adapter dereferences i2c_adapter pointer passed without check > for NULL. This adds a check for non-NULL pointer to allow i2c_put_adapter > called with NULL and behave the same way i2c_release_client does already.

Re: [PATCH] i2c: add sanity check to i2c_put_adapter

2013-08-05 Thread Wolfram Sang
On Thu, Aug 01, 2013 at 02:10:46PM +0200, Sebastian Hesselbarth wrote: i2c_put_adapter dereferences i2c_adapter pointer passed without check for NULL. This adds a check for non-NULL pointer to allow i2c_put_adapter called with NULL and behave the same way i2c_release_client does already. What

Re: [PATCH] i2c: add sanity check to i2c_put_adapter

2013-08-05 Thread Sebastian Hesselbarth
On 08/05/13 11:00, Wolfram Sang wrote: On Thu, Aug 01, 2013 at 02:10:46PM +0200, Sebastian Hesselbarth wrote: i2c_put_adapter dereferences i2c_adapter pointer passed without check for NULL. This adds a check for non-NULL pointer to allow i2c_put_adapter called with NULL and behave the same way

Re: [PATCH] i2c: add sanity check to i2c_put_adapter

2013-08-05 Thread Wolfram Sang
On Mon, Aug 05, 2013 at 11:31:42AM +0200, Sebastian Hesselbarth wrote: On 08/05/13 11:00, Wolfram Sang wrote: On Thu, Aug 01, 2013 at 02:10:46PM +0200, Sebastian Hesselbarth wrote: i2c_put_adapter dereferences i2c_adapter pointer passed without check for NULL. This adds a check for non-NULL

[PATCH] i2c: add sanity check to i2c_put_adapter

2013-08-01 Thread Sebastian Hesselbarth
i2c_put_adapter dereferences i2c_adapter pointer passed without check for NULL. This adds a check for non-NULL pointer to allow i2c_put_adapter called with NULL and behave the same way i2c_release_client does already. Signed-off-by: Sebastian Hesselbarth --- Cc: Wolfram Sang Cc:

[PATCH] i2c: add sanity check to i2c_put_adapter

2013-08-01 Thread Sebastian Hesselbarth
i2c_put_adapter dereferences i2c_adapter pointer passed without check for NULL. This adds a check for non-NULL pointer to allow i2c_put_adapter called with NULL and behave the same way i2c_release_client does already. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: