projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5e7850
)
media: imon: don't push static constants on stack for %*ph
author
Sean Young
<sean@mess.org>
Mon, 28 Oct 2024 15:59:27 +0000
(15:59 +0000)
committer
Mauro Carvalho Chehab
<mchehab+huawei@kernel.org>
Wed, 11 Dec 2024 18:48:17 +0000
(19:48 +0100)
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>
drivers/media/rc/imon_raw.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/rc/imon_raw.c
b/drivers/media/rc/imon_raw.c
index b02ded52f19e6fbc3c54e705f9d50bb155381c11..3a526dea6532c5446caea737749f4eed4230a1a8 100644
(file)
--- a/
drivers/media/rc/imon_raw.c
+++ b/
drivers/media/rc/imon_raw.c
@@
-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