linux/drivers/media/platform
Randy Dunlap 3ad02c27d8 media: s5p-jpeg: rename JPEG marker constants to prevent build warnings
The use of a macro named 'RST' conflicts with one of the same name
in arch/mips/include/asm/mach-rc32434/rb.h. This causes build
warnings on some MIPS builds.

Change the names of the JPEG marker constants to be in their own
namespace to fix these build warnings and to prevent other similar
problems in the future.

Fixes these build warnings:

In file included from ../drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c:14:
../drivers/media/platform/s5p-jpeg/jpeg-core.h:43: warning: "RST" redefined
   43 | #define RST                             0xd0
      |
../arch/mips/include/asm/mach-rc32434/rb.h:13: note: this is the location of the previous definition
   13 | #define RST             (1 << 15)

In file included from ../drivers/media/platform/s5p-jpeg/jpeg-hw-s5p.c:13:
../drivers/media/platform/s5p-jpeg/jpeg-core.h:43: warning: "RST" redefined
   43 | #define RST                             0xd0
../arch/mips/include/asm/mach-rc32434/rb.h:13: note: this is the location of the previous definition
   13 | #define RST             (1 << 15)

In file included from ../drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c:12:
../drivers/media/platform/s5p-jpeg/jpeg-core.h:43: warning: "RST" redefined
   43 | #define RST                             0xd0
../arch/mips/include/asm/mach-rc32434/rb.h:13: note: this is the location of the previous definition
   13 | #define RST             (1 << 15)

In file included from ../drivers/media/platform/s5p-jpeg/jpeg-core.c:31:
../drivers/media/platform/s5p-jpeg/jpeg-core.h:43: warning: "RST" redefined
   43 | #define RST                             0xd0
../arch/mips/include/asm/mach-rc32434/rb.h:13: note: this is the location of the previous definition
   13 | #define RST             (1 << 15)

Also update the kernel-doc so that the word "marker" is not
repeated.

Link: https://lore.kernel.org/linux-media/20210907044022.30602-1-rdunlap@infradead.org
Fixes: bb677f3ac4 ("[media] Exynos4 JPEG codec v4l2 driver")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Andrzej Pietrasiewicz <andrzejtp2010@gmail.com>
Cc: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-09-07 07:57:59 +02:00
..
allegro-dvt media: allegro-dvt: avoid EN DASH char 2021-06-04 08:10:07 +02:00
am437x media: am437x: fix pm_runtime_get_sync() usage count 2021-05-10 11:36:33 +02:00
atmel media updates for v5.15-rc1 2021-09-01 10:34:52 -07:00
cadence media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
coda media: coda: fix frame_mem_ctrl for YUV420 and YVU420 formats 2021-07-22 14:01:55 +02:00
davinci media: drivers/media/platform/davinci/vpfe_capture.c : fix typo Proabably > Probably 2021-07-12 09:16:34 +02:00
exynos4-is media: exynos4-is: use DEVICE_ATTR_RW() helper macro 2021-08-04 14:43:50 +02:00
exynos-gsc media: exynos-gsc: fix pm_runtime_get_sync() usage count 2021-05-10 11:36:34 +02:00
imx-jpeg media: imx-jpeg: Constify static struct mxc_jpeg_fmt 2021-06-17 10:24:09 +02:00
marvell-ccic media: drivers/media/platform/marvell-ccic/mcam-core.c : fix typo 'gettig' > 'getting' 2021-07-12 09:16:37 +02:00
meson/ge2d media: meson-ge2d: fix rotation parameters 2021-04-15 13:19:28 +02:00
mtk-jpeg media: mtk-jpeg: use pm_runtime_resume_and_get() 2021-05-19 09:51:42 +02:00
mtk-mdp media: mdk-mdp: fix pm_runtime_get_sync() usage count 2021-05-10 11:36:33 +02:00
mtk-vcodec media: mtk-vcodec: fix kerneldoc warnings 2021-06-17 10:25:59 +02:00
mtk-vpu media: mtk-vpu: on suspend, read/write regs only if vpu is running 2021-06-28 15:17:42 +02:00
omap media: videobuf2: Move frame_vector into media subsystem 2021-01-12 14:15:31 +01:00
omap3isp media: omap3isp: Fix missing unlock in isp_subdev_notifier_complete() 2021-08-04 14:43:50 +02:00
qcom media: venus: venc: add support for V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM control 2021-08-04 14:43:52 +02:00
rcar-vin media: v4l2-subdev: fix some NULL vs IS_ERR() checks 2021-07-22 14:01:54 +02:00
rockchip media: rockchip/rga: fix error handling in probe 2021-07-22 14:01:55 +02:00
s3c-camif media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
s5p-g2d media: s5p-g2d: Fix a memory leak on ctx->fh.m2m_ctx 2021-06-17 10:21:51 +02:00
s5p-jpeg media: s5p-jpeg: rename JPEG marker constants to prevent build warnings 2021-09-07 07:57:59 +02:00
s5p-mfc media: drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c : fix typo 'in deed imporant' > 'indeed important' 2021-07-12 09:16:36 +02:00
sti media: sti: don't copy past the size 2021-07-12 09:16:31 +02:00
stm32 media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
sunxi media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
ti-vpe media: ti-vpe: cal: fix indexing of cal->ctx[] in cal_probe() 2021-07-22 14:01:55 +02:00
vsp1 media: v4l2-subdev: fix some NULL vs IS_ERR() checks 2021-07-22 14:01:54 +02:00
xilinx media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
aspeed-video.c media: aspeed: fix clock handling logic 2021-03-11 11:59:45 +01:00
fsl-viu.c media: use getter/setter functions 2021-03-11 11:59:42 +01:00
imx-pxp.c media: imx-pxp: remove redundant dev_err call in pxp_probe() 2021-04-06 16:09:00 +02:00
imx-pxp.h
Kconfig media: venus : hfi: add venus image info into smem 2021-04-15 13:14:09 +02:00
m2m-deinterlace.c
Makefile media: atmel: atmel-isc: add microchip-xisc driver 2021-06-08 15:46:31 +02:00
mx2_emmaprp.c
pxa_camera.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
rcar_drif.c Revert "media: rcar_drif: fix a memory disclosure" 2021-05-13 17:29:55 +02:00
rcar_fdp1.c media: rcar_fdp1: fix pm_runtime_get_sync() usage count 2021-05-10 11:36:33 +02:00
rcar_jpu.c media: drivers/media/platform/Rcar_jpu.c : fix typo issues 2021-06-02 14:06:51 +02:00
rcar-fcp.c media: rcar-fcp: use pm_runtime_resume_and_get() 2021-05-20 16:02:36 +02:00
renesas-ceu.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
sh_vou.c media: sh_vou: fix pm_runtime_get_sync() usage count 2021-05-10 11:36:34 +02:00
via-camera.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
via-camera.h
video-mux.c media: video-mux: Skip dangling endpoints 2021-06-28 15:17:42 +02:00