mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
clk: cdce925: Fix printk size_t warning
drivers/clk/clk-cdce925.c:550: warning: format ‘%u’ expects type ‘unsigned int’, but argument 6 has type ‘size_t’ Cc: Mike Looijmans <mike.looijmans@topic.nl> Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
parent
7eaf8b9f0b
commit
b41c7bfa27
@ -547,7 +547,7 @@ static int cdce925_regmap_i2c_read(void *context,
|
||||
|
||||
ret = i2c_transfer(i2c->adapter, xfer, 2);
|
||||
if (likely(ret == 2)) {
|
||||
dev_dbg(&i2c->dev, "%s(%zu, %u) %#x %#x\n", __func__,
|
||||
dev_dbg(&i2c->dev, "%s(%zu, %zu) %#x %#x\n", __func__,
|
||||
reg_size, val_size, reg_data[0], *((u8 *)val));
|
||||
return 0;
|
||||
} else if (ret < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user