media: staging: starfive: camss: fix off by one in isp_enum_mbus_code()
These > comparisons should be >=. The formats->fmts[] array is either a pointer to isp_formats_sink[] or isp_formats_source[] respectively. Fixes: e5785462 ("media: staging: media: starfive: camss: Add ISP driver") Signed-off-by:Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by:
Changhuang Liang <changhuang.liang@starfivetech.com> Signed-off-by:
Hans Verkuil <hverkuil-cisco@xs4all.nl>
Loading
Please sign in to comment