Skip to content

Commit ef2cc59

Browse files
seanyoungmchehab
authored andcommitted
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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent b5e7850 commit ef2cc59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/rc/imon_raw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static void imon_ir_data(struct imon *imon)
3737
if (packet_no == 0xff)
3838
return;
3939

40-
dev_dbg(imon->dev, "data: %*ph", 8, imon->ir_buf);
40+
dev_dbg(imon->dev, "data: %8ph", imon->ir_buf);
4141

4242
/*
4343
* Only the first 5 bytes contain IR data. Right shift so we move

0 commit comments

Comments
 (0)