mbox series

[GIT,PULL,FOR,v6.3] sparse/smatch fixes

Message ID 30e837fa-5b1e-4022-b719-6bc318e8fdf9@xs4all.nl (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL,FOR,v6.3] sparse/smatch fixes | expand

Pull-request

git://linuxtv.org/hverkuil/media_tree.git tags/br-v6.3h

Message

Hans Verkuil Jan. 30, 2023, 11:45 a.m. UTC
This series fixes most sparse/smatch issues in the current
tree.

My original series is here:

https://patchwork.linuxtv.org/project/linux-media/list/?series=9747

I did not include three patches (14, 15 and 16) for 'proper unwind' fixes
here since hopefully smatch can become a bit smarter so those patches won't
be needed.

The others are all good fixes, so I kept those for this PR.

Regards,

	Hans

The following changes since commit 7120d6bfd6d0b26b49958f429701996f2d3e2c2a:

  media: tm6000: remove deprecated driver (2023-01-22 09:57:19 +0100)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/br-v6.3h

for you to fetch changes up to 0ba6b7d83890961e4e93b5cb5de5b506e1db1acc:

  media: dvb-frontends: mb86a16.c: always use the same error path (2023-01-30 09:27:52 +0100)

----------------------------------------------------------------
Tag branch

----------------------------------------------------------------
Hans Verkuil (14):
      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: dvb-frontends: mb86a16.c: always use the same error path

 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c       |  4 ++--
 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c  | 14 +++++++-------
 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c | 14 +++++++-------
 drivers/media/dvb-frontends/drx39xyj/drxj.c                |  9 ++++++---
 drivers/media/dvb-frontends/mb86a16.c                      |  9 ++++++---
 drivers/media/i2c/ov7670.c                                 |  2 +-
 drivers/media/i2c/s5c73m3/s5c73m3-core.c                   |  2 +-
 drivers/media/platform/marvell/mmp-driver.c                |  2 +-
 drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.c       |  3 ++-
 drivers/media/platform/mediatek/vcodec/venc/venc_h264_if.c |  4 ++--
 drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c             | 19 ++++++-------------
 drivers/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 ++--
 15 files changed, 46 insertions(+), 46 deletions(-)