mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
media: mceusb: 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: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
11c7fd6e0f
commit
b5e7850cc8
1 changed files with 2 additions and 2 deletions
|
@ -658,8 +658,8 @@ static void mceusb_dev_printdata(struct mceusb_dev *ir, u8 *buf, int buf_len,
|
||||||
if (len == 2)
|
if (len == 2)
|
||||||
dev_dbg(dev, "Get hw/sw rev?");
|
dev_dbg(dev, "Get hw/sw rev?");
|
||||||
else
|
else
|
||||||
dev_dbg(dev, "hw/sw rev %*ph",
|
dev_dbg(dev, "hw/sw rev %4ph",
|
||||||
4, &buf[offset + 2]);
|
&buf[offset + 2]);
|
||||||
break;
|
break;
|
||||||
case MCE_CMD_RESUME:
|
case MCE_CMD_RESUME:
|
||||||
dev_dbg(dev, "Device resume requested");
|
dev_dbg(dev, "Device resume requested");
|
||||||
|
|
Loading…
Add table
Reference in a new issue