mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:24:45 +01:00
media: imon: 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
b5e7850cc8
commit
ef2cc59cb6
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ static void imon_ir_data(struct imon *imon)
|
|||
if (packet_no == 0xff)
|
||||
return;
|
||||
|
||||
dev_dbg(imon->dev, "data: %*ph", 8, imon->ir_buf);
|
||||
dev_dbg(imon->dev, "data: %8ph", imon->ir_buf);
|
||||
|
||||
/*
|
||||
* Only the first 5 bytes contain IR data. Right shift so we move
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue