[PATCH 0/2] media: Fix build warnings with gcc-11

From: Ricardo Ribalda
Date: Sun Jan 28 2024 - 11:30:04 EST


gcc-11 throws some warnings, most of them are false positive... but with
a simple refactor the code looks nicer and the warnings are gone.

Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx>
---
Ricardo Ribalda (2):
media: nxp: imx8-isi: Factor out a variable
media: usb: s2255: Refactor s2255_get_fx2fw

drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c | 8 +++-----
drivers/media/usb/s2255/s2255drv.c | 7 ++++---
2 files changed, 7 insertions(+), 8 deletions(-)
---
base-commit: 615d300648869c774bd1fe54b4627bb0c20faed4
change-id: 20240128-gcc-11-warnings-15da5f29885f

Best regards,
--
Ricardo Ribalda <ribalda@xxxxxxxxxxxx>