mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
1085cbf271
The extra pairs of parentheses are not needed and cause clang warnings like this: drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c:158:32: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality] if ((inst->work_bufs[i].size == 0)) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c:158:32: note: remove extraneous parentheses around the comparison to silence this warning if ((inst->work_bufs[i].size == 0)) ~ ^ ~ drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c:158:32: note: use '=' to turn this equality comparison into an assignment if ((inst->work_bufs[i].size == 0)) ^~ = Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> |
||
---|---|---|
.. | ||
vdec | ||
venc | ||
Makefile | ||
mtk_vcodec_dec_drv.c | ||
mtk_vcodec_dec_pm.c | ||
mtk_vcodec_dec_pm.h | ||
mtk_vcodec_dec.c | ||
mtk_vcodec_dec.h | ||
mtk_vcodec_drv.h | ||
mtk_vcodec_enc_drv.c | ||
mtk_vcodec_enc_pm.c | ||
mtk_vcodec_enc_pm.h | ||
mtk_vcodec_enc.c | ||
mtk_vcodec_enc.h | ||
mtk_vcodec_intr.c | ||
mtk_vcodec_intr.h | ||
mtk_vcodec_util.c | ||
mtk_vcodec_util.h | ||
vdec_drv_base.h | ||
vdec_drv_if.c | ||
vdec_drv_if.h | ||
vdec_ipi_msg.h | ||
vdec_vpu_if.c | ||
vdec_vpu_if.h | ||
venc_drv_base.h | ||
venc_drv_if.c | ||
venc_drv_if.h | ||
venc_ipi_msg.h | ||
venc_vpu_if.c | ||
venc_vpu_if.h |