From: Rasmus Villemoes Date: Fri, 6 Feb 2015 16:39:20 +0000 (-0800) Subject: Input: elan_i2c - fix wrong %p extension X-Git-Tag: Ubuntu-5.0.0-8.9~7616^2~360 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=98a4a59ee31a12105a2b84f5b8b515ac2cb208ef;p=mirror_ubuntu-disco-kernel.git 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 Signed-off-by: Dmitry Torokhov --- 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; }