mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 11:06:41 -05: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:
committed by
Mauro Carvalho Chehab
parent
b5e7850cc8
commit
ef2cc59cb6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user