From: Andy Shevchenko Date: Fri, 2 Aug 2013 11:08:00 +0000 (+0300) Subject: HID: hid-holtekff: don't push static constants on stack for %*ph X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9854a6f929956c9099dcc837157fd344f6f1c227;p=linux-beck.git HID: hid-holtekff: don't push static constants on stack for %*ph There is no need to pass constants via stack. The width may be explicitly specified in the format. Signed-off-by: Andy Shevchenko Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/hid-holtekff.c b/drivers/hid/hid-holtekff.c index 9a8f05124525..9325545fc3ae 100644 --- a/drivers/hid/hid-holtekff.c +++ b/drivers/hid/hid-holtekff.c @@ -98,7 +98,7 @@ static void holtekff_send(struct holtekff_device *holtekff, holtekff->field->value[i] = data[i]; } - dbg_hid("sending %*ph\n", 7, data); + dbg_hid("sending %7ph\n", data); hid_hw_request(hid, holtekff->field->report, HID_REQ_SET_REPORT); }