summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/eeprom/at25.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/eeprom/at25.c b/drivers/eeprom/at25.c
index 266f2615ff..3e75b56519 100644
--- a/drivers/eeprom/at25.c
+++ b/drivers/eeprom/at25.c
@@ -117,8 +117,8 @@ static ssize_t at25_ee_read(struct cdev *cdev,
*/
status = spi_sync(at25->spi, &m);
dev_dbg(at25->cdev.dev,
- "read %d bytes at %llu --> %d\n",
- count, offset, (int) status);
+ "read %zd bytes at %llu --> %zd\n",
+ count, offset, status);
return status ? status : count;
}