From: Trent Piepho Date: Fri, 1 May 2009 00:03:34 +0000 (-0300) Subject: V4L/DVB (11662): v4l2-ioctl: Clear buffer type specific trailing fields/padding X-Git-Tag: linux-omap-v2.6.30-rc6~47^2~7 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ecc0cf937e97b6116db09cd13c32467b34c164a;p=pandora-kernel.git V4L/DVB (11662): v4l2-ioctl: Clear buffer type specific trailing fields/padding Some ioctls have structs that are a different size depending on what type of buffer is being used. If the buffer type leaves a field unused or has padding space at the end, this space should be zeroed out. The problems with S_FMT and REQBUFS were original identified and patched by Marton Nemeth . Signed-off-by: Trent Piepho Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed