linux/drivers/iio/light
Dan Carpenter 0e8d2b0f74 iio: tsl2583: make array large enough
This array is supposed to have 10 elements.  Smatch complains that with
the current code we can have n == max_ints and read beyond the end of
the array.

Fixes: ac4f6eee8f ("staging: iio: TAOS tsl258x: Device driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-11-24 20:09:55 +00:00
..
acpi-als.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
adjd_s311.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
al3320a.c
apds9300.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
apds9960.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
bh1750.c
bh1780.c iio: light: bh1780: assign a static name 2016-05-29 19:51:29 +01:00
cm3232.c
cm3323.c
cm32181.c
cm36651.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
gp2ap020a00f.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
hid-sensor-als.c
hid-sensor-prox.c
isl29018.c staging: iio: isl29018: move out of staging 2016-10-23 19:33:56 +01:00
isl29125.c drivers:iio:light:isl29125: added macros for sensing range 2016-07-03 10:19:54 +01:00
jsa1212.c iio: light: jsa1212: remove unneeded i2c check functionality test 2016-05-21 20:18:05 +01:00
Kconfig staging: iio: tsl2583: move out of staging 2016-11-13 13:07:33 +00:00
lm3533-als.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
ltr501.c iio: light: ltr501: claim direct mode during raw writes 2016-10-23 19:34:08 +01:00
Makefile staging: iio: tsl2583: move out of staging 2016-11-13 13:07:33 +00:00
max44000.c drivers: iio: light: Fix sparse warnings 2016-09-27 20:33:01 +01:00
opt3001.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
pa12203001.c
rpr0521.c
si1145.c iio: light: Add driver for Silabs si1132, si1141/2/3 and si1145/6/7 ambient light, uv index and proximity sensors 2016-09-18 19:56:39 +01:00
stk3310.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
tcs3414.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
tcs3472.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
tsl2563.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
tsl2583.c iio: tsl2583: make array large enough 2016-11-24 20:09:55 +00:00
tsl4531.c
us5182d.c iio: light: us5182d: Add missing error code assignment before test 2016-08-15 16:49:43 +01:00
vcnl4000.c iio: light: vcnl4000: Add missing locking 2016-07-10 14:44:06 +01:00
veml6070.c iio: Add Vishay VEML6070 UV A light sensor driver 2016-04-19 19:58:16 +01:00