Skip to contentSkip to conversation

clk: cdce925: Fix printk size_t warning

PATCH New Stephen Boyd 1 participant 1 message Jun 10, 2015 Common clk

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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’

---
 drivers/clk/clk-cdce925.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/clk-cdce925.c +1 -1
index 56b870d331a1..85fafb41e6ca 100644
@@ -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)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project