Re: [PATCH] i2c: remove h from printk format specifier

2021-01-06 Thread Jean Delvare
Hi Tom, Wolfram, On Tue, 5 Jan 2021 11:09:42 +0100, Wolfram Sang wrote: > On Tue, Dec 15, 2020 at 10:33:27AM -0800, t...@redhat.com wrote: > > From: Tom Rix > > > > See Documentation/core-api/printk-formats.rst. > > h should no longer be used in the format specifier for printk. > > > >

Re: [PATCH] i2c: remove h from printk format specifier

2021-01-05 Thread Wolfram Sang
On Tue, Dec 15, 2020 at 10:33:27AM -0800, t...@redhat.com wrote: > From: Tom Rix > > See Documentation/core-api/printk-formats.rst. > h should no longer be used in the format specifier for printk. > > Signed-off-by: Tom Rix Adding Jean to CC. Jean, I'd think %02x would be better, what do you

[PATCH] i2c: remove h from printk format specifier

2020-12-15 Thread trix
From: Tom Rix See Documentation/core-api/printk-formats.rst. h should no longer be used in the format specifier for printk. Signed-off-by: Tom Rix --- drivers/i2c/i2c-smbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/i2c-smbus.c b/drivers/i2c/i2c-smbus.c