Skip to content

Commit 9854a6f

Browse files
andy-shevJiri Kosina
authored andcommitted
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 <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 4858bfe commit 9854a6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/hid-holtekff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ static void holtekff_send(struct holtekff_device *holtekff,
9898
holtekff->field->value[i] = data[i];
9999
}
100100

101-
dbg_hid("sending %*ph\n", 7, data);
101+
dbg_hid("sending %7ph\n", data);
102102

103103
hid_hw_request(hid, holtekff->field->report, HID_REQ_SET_REPORT);
104104
}

0 commit comments

Comments
 (0)