projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4858bfe
)
HID: hid-holtekff: don't push static constants on stack for %*ph
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Fri, 2 Aug 2013 11:08:00 +0000
(14:08 +0300)
committer
Jiri Kosina
<jkosina@suse.cz>
Mon, 5 Aug 2013 09:29:57 +0000
(11:29 +0200)
There is no need to pass constants via stack. The width may be explicitly
specified in the format.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-holtekff.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-holtekff.c
b/drivers/hid/hid-holtekff.c
index
9a8f051
..
9325545
100644
(file)
--- 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);
}