Skip to content

media: Fix last smatch warnings

Ricardo Ribalda linux-amlogic linux-arm-kernel linux-media linux-staging lkml 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20240813-smatch-clock-2fa3b1174857

Versions newest first

  1. v2 Latest6 patches 1 replyIn review
  2. v16 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Fix double free in ar0251 patch. Thanks Dan!
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6media: ar0521: Refactor ar0521_power_off()drivers/media/i2c/ar0521.c+13 -41 reply
2/6media: i2c: ov5645: Refactor ov5645_set_power_off()drivers/media/i2c/ov5645.c+12 -30 replies
3/6media: i2c: s5c73m3: Move clk_prepare to its own functiondrivers/media/i2c/s5c73m3/s5c73m3-core.c+12 -10 replies
4/6media: tc358746: Move clk_prepare to its own functiondrivers/media/i2c/tc358746.c+11 -10 replies
5/6media: meson: vdec_1: Refactor vdec_1_stop()drivers/staging/media/meson/vdec/vdec_1.c+12 -40 replies
6/6media: meson: vdec: hevc: Refactor vdec_hevc_start and vdec_hevc_stopdrivers/staging/media/meson/vdec/vdec_hevc.c+32 -110 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchKrzysztof Hałasa
1/6A-b
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] media: Fix last smatch warnings

This series completes the smatch warning cleanout.

---
Changes in v2:
- Fix double free in ar0251 patch. Thanks Dan!
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Ricardo Ribalda (6):
media: ar0521: Refactor ar0521_power_off()
media: i2c: ov5645: Refactor ov5645_set_power_off()
media: i2c: s5c73m3: Move clk_prepare to its own function
media: tc358746: Move clk_prepare to its own function
media: meson: vdec_1: Refactor vdec_1_stop()
media: meson: vdec: hevc: Refactor vdec_hevc_start and vdec_hevc_stop

 drivers/media/i2c/ar0521.c                   | 17 ++++++++---
 drivers/media/i2c/ov5645.c                   | 15 ++++++++--
 drivers/media/i2c/s5c73m3/s5c73m3-core.c     | 13 ++++++++-
 drivers/media/i2c/tc358746.c                 | 12 +++++++-
 drivers/staging/media/meson/vdec/vdec_1.c    | 16 ++++++++---
 drivers/staging/media/meson/vdec/vdec_hevc.c | 43 +++++++++++++++++++++-------
 6 files changed, 92 insertions(+), 24 deletions(-)

---
base-commit: c80bfa4f9e0ebfce6ac909488d412347acbcb4f9
change-id: 20240813-smatch-clock-2fa3b1174857

Best regards,

Signature · 1 line
Ricardo Ribalda <[email protected]>