The output format of the retries variable should be %u instead of %d
Signed-off-by: Liu Jing <liujing@cmss.chinamobile.com>
diff --git a/drivers/w1/slaves/w1_ds2408.c b/drivers/w1/slaves/w1_ds2408.c
index 56f822a1dfdb..1efe55e1dd8a 100644
--- a/drivers/w1/slaves/w1_ds2408.c
+++ b/drivers/w1/slaves/w1_ds2408.c
@@ -199,7 +199,7 @@ static ssize_t output_write(struct file *filp, struct kobject *kobj,
out:
mutex_unlock(&sl->master->bus_mutex);
- dev_dbg(&sl->dev, "%s, mutex unlocked retries:%d\n",
+ dev_dbg(&sl->dev, "%s, mutex unlocked retries:%u\n",
(bytes_written > 0) ? "succeeded" : "error", retries);
return bytes_written;
--
2.27.0