Re: [PATCH] i2c: print correct device invalid address

2017-01-12 Thread Wolfram Sang
On Fri, Jan 06, 2017 at 07:02:57PM +0800, John Garry wrote: > In of_i2c_register_device(), when the check for > device address validity fails we print the info.addr, > which has not been assigned properly. > > Fix this by printing the actual invalid address. > > Signed-off-by: John Garry

Re: [PATCH] i2c: print correct device invalid address

2017-01-12 Thread Wolfram Sang
On Fri, Jan 06, 2017 at 07:02:57PM +0800, John Garry wrote: > In of_i2c_register_device(), when the check for > device address validity fails we print the info.addr, > which has not been assigned properly. > > Fix this by printing the actual invalid address. > > Signed-off-by: John Garry

Re: [PATCH] i2c: print correct device invalid address

2017-01-07 Thread Vladimir Zapolskiy
On 01/06/2017 01:02 PM, John Garry wrote: > In of_i2c_register_device(), when the check for > device address validity fails we print the info.addr, > which has not been assigned properly. > > Fix this by printing the actual invalid address. > > Signed-off-by: John Garry >

Re: [PATCH] i2c: print correct device invalid address

2017-01-07 Thread Vladimir Zapolskiy
On 01/06/2017 01:02 PM, John Garry wrote: > In of_i2c_register_device(), when the check for > device address validity fails we print the info.addr, > which has not been assigned properly. > > Fix this by printing the actual invalid address. > > Signed-off-by: John Garry > > diff --git

[PATCH] i2c: print correct device invalid address

2017-01-06 Thread John Garry
In of_i2c_register_device(), when the check for device address validity fails we print the info.addr, which has not been assigned properly. Fix this by printing the actual invalid address. Signed-off-by: John Garry diff --git a/drivers/i2c/i2c-core.c

[PATCH] i2c: print correct device invalid address

2017-01-06 Thread John Garry
In of_i2c_register_device(), when the check for device address validity fails we print the info.addr, which has not been assigned properly. Fix this by printing the actual invalid address. Signed-off-by: John Garry diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index