mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
6bf9691159
Clang static analysis reports this issue ispcsiphy.c:63:14: warning: The left operand of '<<' is a garbage value reg |= mode << shift; ~~~~ ^ The iface switch-statement default case falls through to ISP_INTERFACE_CCP2B_PHY1. Which is later checked to set the mode. Since the default case is left out of this check mode is never set. Instead of falling through and assuming a ISP_INTERFACE_CCP2B_PHY1 iface, return. Signed-off-by: Tom Rix <trix@redhat.com> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> |
||
---|---|---|
.. | ||
cfa_coef_table.h | ||
gamma_table.h | ||
isp.c | ||
isp.h | ||
ispccdc.c | ||
ispccdc.h | ||
ispccp2.c | ||
ispccp2.h | ||
ispcsi2.c | ||
ispcsi2.h | ||
ispcsiphy.c | ||
ispcsiphy.h | ||
isph3a_aewb.c | ||
isph3a_af.c | ||
isph3a.h | ||
isphist.c | ||
isphist.h | ||
isppreview.c | ||
isppreview.h | ||
ispreg.h | ||
ispresizer.c | ||
ispresizer.h | ||
ispstat.c | ||
ispstat.h | ||
ispvideo.c | ||
ispvideo.h | ||
Kconfig | ||
luma_enhance_table.h | ||
Makefile | ||
noise_filter_table.h | ||
omap3isp.h |