The patch number 14191 was added via Douglas Schilling Landgraf 
<dougsl...@redhat.com>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        Linux Media Mailing List <linux-me...@vger.kernel.org>

------

From: Jiri Slaby  <jsl...@suse.cz>
ngene, fix memset parameters


Switch second and third memset parameter to stamp the length buffer bytes
by 0xff's, not 255 bytes by low 8 bits of Length.

Priority: normal

Signed-off-by: Jiri Slaby <jsl...@suse.cz>
Cc: Matthias Benesch <two...@freenet.de>
Cc: Ralph Metzler <r...@metzlerbros.de>
Cc: Oliver Endriss <o.endr...@gmx.de>
Cc: Mauro Carvalho Chehab <mche...@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mche...@redhat.com>
Signed-off-by: Douglas Schilling Landgraf <dougsl...@redhat.com>


---

 linux/drivers/media/dvb/ngene/ngene-core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r 212f1b99bc39 -r cd585da9a0ac linux/drivers/media/dvb/ngene/ngene-core.c
--- a/linux/drivers/media/dvb/ngene/ngene-core.c        Thu Feb 11 15:14:46 
2010 -0200
+++ b/linux/drivers/media/dvb/ngene/ngene-core.c        Thu Feb 11 15:16:33 
2010 -0200
@@ -708,7 +708,7 @@
 {
        u32 *ptr = Buffer;
 
-       memset(Buffer, Length, 0xff);
+       memset(Buffer, 0xff, Length);
        while (Length > 0) {
                if (Flags & DF_SWAP32)
                        *ptr = 0x471FFF10;


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/cd585da9a0acfb5bbbc81e04123d08e56f21dddf

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to