linux-uconsole/drivers/media/platform
Pankaj Bharadiya c593642c8b treewide: Use sizeof_field() macro
Replace all the occurrences of FIELD_SIZEOF() with sizeof_field() except
at places where these are defined. Later patches will remove the unused
definition of FIELD_SIZEOF().

This patch is generated using following script:

EXCLUDE_FILES="include/linux/stddef.h|include/linux/kernel.h"

git grep -l -e "\bFIELD_SIZEOF\b" | while read file;
do

	if [[ "$file" =~ $EXCLUDE_FILES ]]; then
		continue
	fi
	sed -i  -e 's/\bFIELD_SIZEOF\b/sizeof_field/g' $file;
done

Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Link: https://lore.kernel.org/r/20190924105839.110713-3-pankaj.laxminarayan.bharadiya@intel.com
Co-developed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: David Miller <davem@davemloft.net> # for net
2019-12-09 10:36:44 -08:00
..
am437x media: am437x: fix smatch warning 2019-11-05 10:33:36 -03:00
atmel
cadence
cec-gpio drm main pull for 5.5-rc1 2019-11-27 17:45:48 -08:00
coda media: coda: disable decoder crop selections 2019-11-10 07:27:40 +01:00
cros-ec-cec
davinci
exynos-gsc
exynos4-is media: exynos4-is: fix wrong mdev and v4l2 dev order in error path 2019-11-08 07:39:40 +01:00
marvell-ccic
meson drm main pull for 5.5-rc1 2019-11-27 17:45:48 -08:00
mtk-jpeg
mtk-mdp
mtk-vcodec media: Revert "media: mtk-vcodec: Remove extra area allocation in an input buffer on encoding" 2019-11-10 18:10:11 +01:00
mtk-vpu media: mtk-vpu: fix two smatch warnings 2019-11-08 07:25:39 +01:00
omap
omap3isp treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
qcom media: venus: remove invalid compat_ioctl32 handler 2019-11-09 09:08:30 +01:00
rcar-vin media: rcar-csi2: Enable support for R8A774B1 2019-11-05 08:55:07 -03:00
rockchip/rga
s3c-camif
s5p-cec
s5p-g2d
s5p-jpeg media: s5p-jpeg: drop unused components from s5p_jpeg_q_data 2019-11-05 09:08:04 -03:00
s5p-mfc
seco-cec drm main pull for 5.5-rc1 2019-11-27 17:45:48 -08:00
sti drm main pull for 5.5-rc1 2019-11-27 17:45:48 -08:00
stm32
sunxi media: sun4i: Add H3 deinterlace driver 2019-10-24 19:07:59 -03:00
tegra-cec
ti-vpe media: ti-vpe: vpe: fix compatible to match bindings 2019-11-10 17:51:22 +01:00
vicodec media: vicodec: media_device_cleanup was called too early 2019-11-10 07:45:17 +01:00
vimc media: vimc: upon streaming, check that the pipeline starts with a source entity 2019-11-10 07:25:03 +01:00
vivid media: vivid: Add an area control 2019-11-08 07:41:21 +01:00
vsp1
xilinx media: xilinx: Use the correct style for SPDX License Identifier 2019-11-05 08:30:51 -03:00
aspeed-video.c media: aspeed-video: Fix memory leaks in aspeed_video_probe 2019-11-10 07:23:38 +01:00
fsl-viu.c
imx-pxp.c
imx-pxp.h
Kconfig media: sun4i: Add H3 deinterlace driver 2019-10-24 19:07:59 -03:00
m2m-deinterlace.c
Makefile media: ti-vpe: Fix a parallel build issue 2019-10-10 11:39:32 -03:00
mx2_emmaprp.c
pxa_camera.c
rcar-fcp.c
rcar_drif.c media: rcar_drif: fix a memory disclosure 2019-11-05 08:56:24 -03:00
rcar_fdp1.c media: fdp1: Fix R-Car M3-N naming in debug message 2019-11-05 09:01:49 -03:00
rcar_jpu.c
renesas-ceu.c
sh_veu.c
sh_vou.c
via-camera.c
via-camera.h
video-mux.c
vim2m.c media: vim2m: media_device_cleanup was called too early 2019-11-10 07:44:43 +01:00