mbox series

[00/17] media: sparse/smatch fixes

Message ID 20230126150657.367921-1-hverkuil-cisco@xs4all.nl (mailing list archive)
Headers show
Series media: sparse/smatch fixes | expand

Message

Hans Verkuil Jan. 26, 2023, 3:06 p.m. UTC
We have way too many sparse/smatch warnings and errors today, making
it hard to tell when new issues are introduced.

This series will get rid of most of them.

Regards,

	Hans

Hans Verkuil (17):
  media: visl: make visl_qops static
  media: davinci/vpif.c: drop unnecessary cast
  media: i2c: s5c73m3: return 0 instead of 'ret'.
  media: dvb-frontends: cxd2880: return 0 instead of 'ret'.
  media: usb: dvb-usb-v2: af9015.c: return 0 instead of 'ret'.
  media: dvb-frontends: cxd2880: return 0 instead of 'ret'.
  media: marvell: change return to goto for proper unwind
  media: dvb-frontends: drx39xyj: replace return with goto for proper
    unwind
  media: nxp: imx-jpeg: replace dummy gotos by returns
  media: mediatek: mdp3: replace return by goto for proper unwind
  media: mediatek: vcodec/venc: return 0 instead of 'ret'.
  media: ti: davinci: vpbe_display.c: return 0 instead of 'ret'.
  media: i2c: ov7670: 0 instead of -EINVAL was returned
  media: usb: go7007: add second unwind label
  media: i2c: adp1653: introduce 'no_child' label
  media: st: delta: introduce 'err_too_many_comps' label
  media: dvb-frontends: mb86a16.c: always use the same error path

 .../dvb-frontends/cxd2880/cxd2880_tnrdmd.c    |  4 ++--
 .../cxd2880/cxd2880_tnrdmd_dvbt.c             | 14 +++++++-------
 .../cxd2880/cxd2880_tnrdmd_dvbt2.c            | 14 +++++++-------
 drivers/media/dvb-frontends/drx39xyj/drxj.c   |  9 ++++++---
 drivers/media/dvb-frontends/mb86a16.c         |  9 ++++++---
 drivers/media/i2c/adp1653.c                   |  5 +++--
 drivers/media/i2c/ov7670.c                    |  2 +-
 drivers/media/i2c/s5c73m3/s5c73m3-core.c      |  2 +-
 drivers/media/platform/marvell/mmp-driver.c   |  2 +-
 .../platform/mediatek/mdp3/mtk-mdp3-comp.c    |  3 ++-
 .../mediatek/vcodec/venc/venc_h264_if.c       |  4 ++--
 .../media/platform/nxp/imx-jpeg/mxc-jpeg.c    | 19 ++++++-------------
 .../platform/st/sti/delta/delta-mjpeg-hdr.c   | 16 +++++++++-------
 .../media/platform/ti/davinci/vpbe_display.c  |  2 +-
 drivers/media/platform/ti/davinci/vpif.c      |  2 +-
 drivers/media/test-drivers/visl/visl-video.c  |  2 +-
 drivers/media/usb/dvb-usb-v2/af9015.c         |  4 ++--
 drivers/media/usb/go7007/go7007-usb.c         | 11 +++++++----
 18 files changed, 65 insertions(+), 59 deletions(-)