summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-02-06 08:39:20 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-02-06 15:32:18 -0800
commit98a4a59ee31a12105a2b84f5b8b515ac2cb208ef (patch)
tree9432d77c91de0fcd8ebc04dfcd95e1ba72df740f /drivers/input
parentb881d53770e68f3f9b6097a61dd1685180393f20 (diff)
Input: elan_i2c - fix wrong %p extension
There's no %px extension. From the context I think the intention was to dump the five bytes which were not as expected, and for that one should use %ph. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/mouse/elan_i2c_smbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/elan_i2c_smbus.c b/drivers/input/mouse/elan_i2c_smbus.c
index 5cd4a05370c2..06a2bcd1cda2 100644
--- a/drivers/input/mouse/elan_i2c_smbus.c
+++ b/drivers/input/mouse/elan_i2c_smbus.c
@@ -70,7 +70,7 @@ static int elan_smbus_initialize(struct i2c_client *client)
/* compare hello packet */
if (memcmp(values, check, ETP_SMBUS_HELLOPACKET_LEN)) {
- dev_err(&client->dev, "hello packet fail [%*px]\n",
+ dev_err(&client->dev, "hello packet fail [%*ph]\n",
ETP_SMBUS_HELLOPACKET_LEN, values);
return -ENXIO;
}