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:
Sean Young
2024-10-28 15:59:27 +00:00
committed by Mauro Carvalho Chehab
parent b5e7850cc8
commit ef2cc59cb6

View File

@@ -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