[PATCH v2 0/5] media: amphion: fix some issues reported by coverity

Ming Qian ming.qian at nxp.com
Tue Jul 18 02:50:08 PDT 2023


Coverity is a proprietary static code analysis tool from Synopsys.
And the coverity scan report some issues about amphion vpu driver,

CHECKED_RETURN: 4 case
REVERSE_INULL: 2 case
UNINIT: 6 case
UNUSED_VALUE: 1 case

Ming Qian (5):
  media: amphion: fix CHECKED_RETURN issues reported by coverity
  media: amphion: fix REVERSE_INULL issues reported by coverity
  media: amphion: fix UNINIT issues reported by coverity
  media: amphion: fix UNUSED_VALUE issue reported by coverity
  media: amphion: ensure the bitops don't cross boundaries

 drivers/media/platform/amphion/vdec.c     |  5 ++++-
 drivers/media/platform/amphion/venc.c     |  6 ++++--
 drivers/media/platform/amphion/vpu_cmds.c |  5 +++--
 drivers/media/platform/amphion/vpu_core.c |  2 ++
 drivers/media/platform/amphion/vpu_dbg.c  | 11 +++++++++--
 drivers/media/platform/amphion/vpu_msgs.c | 12 ++++++------
 6 files changed, 28 insertions(+), 13 deletions(-)

-- 
2.38.1




More information about the linux-arm-kernel mailing list