Commit ef2cc59c authored by Sean Young's avatar Sean Young Committed by Mauro Carvalho Chehab
Browse files

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: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent b5e7850c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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