aboutsummaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorDmitry Torokhov2015-06-29 11:56:27 -0700
committerDmitry Torokhov2015-06-29 12:57:04 -0700
commit11ddba28325a66c2d38dbf987e2d5da790c6d684 (patch)
tree0266e69c272fab82b2f4b8905d9eaafad781d84b /drivers/input
parent7c494375b773497228502133879072a9e959c063 (diff)
Input: wdt87xx_i2c - fix format warning
This fixes the following warning: drivers/input/touchscreen/wdt87xx_i2c.c: In function 'wdt87xx_validate_firmware': >> drivers/input/touchscreen/wdt87xx_i2c.c:472:4: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'size_t' [-Wformat=] size, fw->size); Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/wdt87xx_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/wdt87xx_i2c.c b/drivers/input/touchscreen/wdt87xx_i2c.c
index c073ea9345e2..43c3bee4b2e9 100644
--- a/drivers/input/touchscreen/wdt87xx_i2c.c
+++ b/drivers/input/touchscreen/wdt87xx_i2c.c
@@ -468,7 +468,7 @@ static int wdt87xx_validate_firmware(struct wdt87xx_data *wdt,
size = get_unaligned_le32(fw->data + FW_SIZE_OFFSET);
if (size != fw->size) {
dev_err(&wdt->client->dev,
- "fw size mismatch: expected %d, actual %zd\n",
+ "fw size mismatch: expected %d, actual %zu\n",
size, fw->size);
return -EINVAL;
}