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

From: Ming Qian
Date: Tue Jul 18 2023 - 05:51:30 EST


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