OSDN Git Service

V4L/DVB: DVB: ngene, fix memset parameters
authorJiri Slaby <jslaby@suse.cz>
Wed, 10 Feb 2010 23:32:42 +0000 (20:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:57 +0000 (15:10 -0300)
commitfd9be0dc9b0b2baf203cfef8c8109859d05d0e01
treed4e4c3e1accdc3683a169b5551cdc5339f6bb193
parent7ca7ef6011e92b52a365ddc78f6668e01793c572
V4L/DVB: DVB: 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.

Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, jirislaby@gmail.com, Matthias Benesch <twoof7@freenet.de>, Ralph Metzler <rjkm@metzlerbros.de>, Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Matthias Benesch <twoof7@freenet.de>
Cc: Ralph Metzler <rjkm@metzlerbros.de>
Cc: Oliver Endriss <o.endriss@gmx.de>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/ngene/ngene-core.c