android_kernel_motorola_sm6375/drivers/media
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Arnd Bergmann 7d993371c1 media: s5p-mfc: remove an unused/uninitialized variable
[ Upstream commit 7fa37ba25a1dfc084e24ea9acc14bf1fad8af14c ]

The s5p_mfc_cmd_args structure in the v6 driver is never used, not
initialized to anything other than zero, but as of clang-21 this
causes a warning:

drivers/media/platform/samsung/s5p-mfc/s5p_mfc_cmd_v6.c:45:7: error: variable 'h2r_args' is uninitialized when passed as a const pointer argument here [-Werror,-Wuninitialized-const-pointer]
   45 |                                         &h2r_args);
      |                                          ^~~~~~~~

Just remove this for simplicity. Since the function is also called
through a callback, this does require adding a trivial wrapper with
the correct prototype.

Fixes: f96f3cfa0b ("[media] s5p-mfc: Update MFC v4l2 driver to support MFC6.x")
Cc: stable@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
[ Adjust context ]
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-10-29 14:00:01 +01:00
..
cec
common media: siano: Fix error handling in smsdvb_module_init() 2025-05-02 07:39:14 +02:00
dvb-core
dvb-frontends media: dvb-frontends: w7090p: fix null-ptr-deref in w7090p_tuner_write_serpar and w7090p_tuner_read_serpar 2025-08-28 16:21:28 +02:00
firewire
i2c media: i2c: mt9v111: fix incorrect type for ret 2025-10-29 13:59:52 +01:00
mc media: mc: Clear minor number before put device 2025-10-29 13:59:55 +01:00
mmc
pci media: pci: ivtv: Add missing check after DMA map 2025-10-29 13:59:56 +01:00
platform media: s5p-mfc: remove an unused/uninitialized variable 2025-10-29 14:00:01 +01:00
radio
rc media: lirc: Fix error handling in lirc_register() 2025-10-29 13:59:56 +01:00
spi
tuners media: tuner: xc5000: Fix use-after-free in xc5000_release 2025-10-29 13:59:45 +01:00
usb media: rainshadow-cec: fix TOCTOU race condition in rain_interrupt() 2025-08-28 16:21:35 +02:00
v4l2-core media: v4l2-ctrls: Don't reset handler's error in v4l2_ctrl_handler_free() 2025-08-28 16:21:35 +02:00
Kconfig
Makefile