projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ca7ef6
)
V4L/DVB: DVB: ngene, fix memset parameters
author
Jiri Slaby
<
[email protected]
>
Wed, 10 Feb 2010 23:32:42 +0000
(20:32 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Fri, 26 Feb 2010 18:10:57 +0000
(15:10 -0300)
Switch second and third memset parameter to stamp the length buffer bytes
by 0xff's, not 255 bytes by low 8 bits of Length.
Cc:
[email protected]
,
[email protected]
,
[email protected]
, Matthias Benesch <
[email protected]
>, Ralph Metzler <
[email protected]
>, Oliver Endriss <
[email protected]
>
Signed-off-by: Jiri Slaby <
[email protected]
>
Cc: Matthias Benesch <
[email protected]
>
Cc: Ralph Metzler <
[email protected]
>
Cc: Oliver Endriss <
[email protected]
>
Cc: Mauro Carvalho Chehab <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/dvb/ngene/ngene-core.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/ngene/ngene-core.c
b/drivers/media/dvb/ngene/ngene-core.c
index cb5982ed8504a22266b4fc9c91d55491e3561af1..0150dfe7cfbb9c85c50d04b0e21552ab20e63304 100644
(file)
--- a/
drivers/media/dvb/ngene/ngene-core.c
+++ b/
drivers/media/dvb/ngene/ngene-core.c
@@
-564,7
+564,7
@@
static void FillTSBuffer(void *Buffer, int Length, u32 Flags)
{
u32 *ptr = Buffer;
- memset(Buffer,
Length, 0xff
);
+ memset(Buffer,
0xff, Length
);
while (Length > 0) {
if (Flags & DF_SWAP32)
*ptr = 0x471FFF10;