linux/drivers/media/v4l2-core
Hans Verkuil 333b1e9f96 media: v4l2-compat-ioctl32.c: avoid sizeof(type)
Instead of doing sizeof(struct foo) use sizeof(*up). There even were
cases where 4 * sizeof(__u32) was used instead of sizeof(kp->reserved),
which is very dangerous when the size of the reserved array changes.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: <stable@vger.kernel.org>      # for v4.15 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-01-30 07:28:35 -05:00
..
Kconfig media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
Makefile media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
tuner-core.c media: v4l2-core: Fix kernel-doc markups 2017-11-30 04:18:53 -05:00
v4l2-async.c media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
v4l2-clk.c
v4l2-common.c media: v4l2-common.h: document helper functions 2017-12-18 09:25:26 -05:00
v4l2-compat-ioctl32.c media: v4l2-compat-ioctl32.c: avoid sizeof(type) 2018-01-30 07:28:35 -05:00
v4l2-ctrls.c
v4l2-dev.c media: v4l2-dev: convert VFL_TYPE_* into an enum 2017-12-18 11:49:40 -05:00
v4l2-device.c
v4l2-dv-timings.c media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
v4l2-event.c
v4l2-fh.c
v4l2-flash-led-class.c
v4l2-fwnode.c media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
v4l2-ioctl.c media: v4l2-ioctl.c: don't copy back the result for -ENOTTY 2018-01-30 07:23:04 -05:00
v4l2-mc.c media: drivers: media: remove duplicate includes 2017-12-13 09:58:39 -05:00
v4l2-mem2mem.c media: v4l2-core: Fix kernel-doc markups 2017-11-30 04:18:53 -05:00
v4l2-subdev.c
v4l2-trace.c
vb2-trace.c
videobuf-core.c media: v4l2-core: Fix kernel-doc markups 2017-11-30 04:18:53 -05:00
videobuf-dma-contig.c
videobuf-dma-sg.c v4l2: disable filesystem-dax mapping support 2017-11-29 18:40:42 -08:00
videobuf-dvb.c
videobuf-vmalloc.c