media: sr030pc30: prevent array underflow in try_fmt()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 25 Jan 2018 14:15:25 +0000 (09:15 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Mar 2018 13:20:22 +0000 (08:20 -0500)
commitbd0b5a35aac5315cf4f6d296dee2f23fb28b827d
tree5e5b222349316099f0f9ce1d9c6baf552f64a5f7
parent8f0aa38292f212a74cb37026d160d946602e76f2
media: sr030pc30: prevent array underflow in try_fmt()

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/sr030pc30.c