git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
270e707
)
[media] cx24120: Fix hexdump length in writeregs
author
Jemma Denson
<jdenson@gmail.com>
Fri, 1 May 2015 19:20:16 +0000
(16:20 -0300)
committer
Mauro Carvalho Chehab
<mchehab@osg.samsung.com>
Mon, 18 May 2015 19:35:44 +0000
(16:35 -0300)
msg.len has been ++'d so msg.len is one too many.
Signed-off-by: Jemma Denson <jdenson@gmail.com>
Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/cx24120.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb-frontends/cx24120.c
b/drivers/media/dvb-frontends/cx24120.c
index
095af2e
..
74ce7a7
100644
(file)
--- a/
drivers/media/dvb-frontends/cx24120.c
+++ b/
drivers/media/dvb-frontends/cx24120.c
@@
-245,7
+245,7
@@
static int cx24120_writeregs(struct cx24120_state *state,
dev_dbg(&state->i2c->dev,
"%s: reg=0x%02x; data=%*ph\n",
- __func__, reg, msg.len, msg.buf + 1);
+ __func__, reg, msg.len
- 1
, msg.buf + 1);
}
ret = 0;