diff options
| author | Michael Riesch <michael.riesch@collabora.com> | 2026-02-16 15:28:47 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2026-03-18 13:21:30 +0300 |
| commit | 9232fa05921bc0ea0bc71947440ec9a50b3ad26e (patch) | |
| tree | 94c57a71d42629e2869b790698701cc892ffcab5 /scripts | |
| parent | f338e77383789c0cae23ca3d48adcc5e9e137e3c (diff) | |
| download | linux-9232fa05921bc0ea0bc71947440ec9a50b3ad26e.tar.xz | |
media: synopsys: csi2rx: fix out-of-bounds check for formats array
The out-of-bounds check for the format array is off by one. Fix the
check.
Fixes: 355a11004066 ("media: synopsys: add driver for the designware mipi csi-2 receiver")
Cc: stable@kernel.org
Suggested-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Michael Riesch <michael.riesch@collabora.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
