[PATCH v2 0/3] media: static-analyzers: Fix 6.12-rc1 cocci warnings

Ricardo Ribalda posted 3 patches 2 months ago
There is a newer version of this series
drivers/media/platform/ti/cal/cal-camerarx.c    | 2 +-
drivers/staging/media/atomisp/pci/sh_css_frac.h | 6 ++++--
drivers/staging/media/ipu3/ipu3-css.c           | 2 +-
3 files changed, 6 insertions(+), 4 deletions(-)
[PATCH v2 0/3] media: static-analyzers: Fix 6.12-rc1 cocci warnings
Posted by Ricardo Ribalda 2 months ago
This patchset introduces fixes for all the new warnings introduced in
Linux 6.12-rc1

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
---
Changes in v2: Thanks Andy and Hans
- Replace max with if
- Fix style in subject
- Link to v1: https://lore.kernel.org/r/20240927-cocci-6-12-v1-0-a318d4e6a19d@chromium.org

---
Ricardo Ribalda (3):
      media: ti: cal: Use str_up_down()
      staging: media: ipu3: Use str_down_up()
      media: atomisp: Use max() macros

 drivers/media/platform/ti/cal/cal-camerarx.c    | 2 +-
 drivers/staging/media/atomisp/pci/sh_css_frac.h | 6 ++++--
 drivers/staging/media/ipu3/ipu3-css.c           | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)
---
base-commit: 075dbe9f6e3c21596c5245826a4ee1f1c1676eb8
change-id: 20240927-cocci-6-12-4c571bc8e9dd

Best regards,
-- 
Ricardo Ribalda <ribalda@chromium.org>