diff options
author | Baruch Siach <baruch@tkos.co.il> | 2010-02-19 18:09:25 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 19:11:11 +0100 |
commit | 84f3751d6a6f766780dee509433bf7b3dfcdf465 (patch) | |
tree | c009fded152e598837a0c48af802ef386c77ac60 /include/scsi/scsicam.h | |
parent | V4L/DVB: Add support for SMT7020 to cx88 (diff) | |
download | linux-84f3751d6a6f766780dee509433bf7b3dfcdf465.tar.xz linux-84f3751d6a6f766780dee509433bf7b3dfcdf465.zip |
V4L/DVB: v4l: soc_camera: fix bound checking of mbus_fmt[] index
When code <= V4L2_MBUS_FMT_FIXED soc_mbus_get_fmtdesc returns a pointer to
mbus_fmt[x], where x < 0. Fix this.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
CC: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/scsi/scsicam.h')
0 files changed, 0 insertions, 0 deletions