aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2024-10-18 15:21:10 +0000
committerHans Verkuil <hverkuil@xs4all.nl>2025-02-21 10:33:00 +0100
commit07df4f23ef3ffe6fee697cd2e03623ad27108843 (patch)
tree63cbbe31321d79de19b5453a8aaecb3089ffd604 /tools/perf/scripts/python/event_analyzing_sample.py
parentmedia: platform: rpi1-cfe: drop vb2_ops_wait_prepare/finish (diff)
downloadlinux-07df4f23ef3ffe6fee697cd2e03623ad27108843.tar.gz
linux-07df4f23ef3ffe6fee697cd2e03623ad27108843.zip
media: mtk-vcodec: venc: avoid -Wenum-compare-conditional warning
This is one of three clang warnings about incompatible enum types in a conditional expression: drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c:597:29: error: conditional expression between different enumeration types ('enum scp_ipi_id' and 'enum ipi_id') [-Werror,-Wenum-compare-conditional] 597 | inst->vpu_inst.id = is_ext ? SCP_IPI_VENC_H264 : IPI_VENC_H264; | ^ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ The code is correct, so just rework it to avoid the warning. Fixes: 0dc4b3286125 ("media: mtk-vcodec: venc: support SCP firmware") Cc: stable@vger.kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: Alexandre Courbot <acourbot@google.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions