[0/7] Various smatch fixes

Message ID 20220509091553.2637089-1-hverkuil-cisco@xs4all.nl (mailing list archive)
Headers
Series Various smatch fixes |

Message

Hans Verkuil May 9, 2022, 9:15 a.m. UTC
  The daily build produces a number of smatch warnings.

This series fixes those warnings.

Regards,

	Hans

Hans Verkuil (7):
  v4l2-subdev.c: kvmalloc_array -> kvcalloc
  v4l2-ctls-core.c: kvmalloc_array -> kvcalloc
  videobuf2-dma-sg.c: kvmalloc_array -> kvcalloc
  cx25821: request_irq -> devm_request_irq
  ccs-core.c: fix failure to call clk_disable_unprepare
  s5k6a3: add missing clk_disable_unprepare
  uvc_v4l2.c: avoid using iterator used outside loop

 drivers/media/common/videobuf2/videobuf2-dma-sg.c |  3 +--
 drivers/media/i2c/ccs/ccs-core.c                  |  7 +++++--
 drivers/media/i2c/s5k6a3.c                        |  4 +++-
 drivers/media/pci/cx25821/cx25821-alsa.c          |  4 ++--
 drivers/media/usb/uvc/uvc_v4l2.c                  | 13 +++++++++----
 drivers/media/v4l2-core/v4l2-ctrls-core.c         |  5 ++---
 drivers/media/v4l2-core/v4l2-subdev.c             |  5 ++---
 7 files changed, 24 insertions(+), 17 deletions(-)