linux/drivers/gpu/drm/panel
Dan Carpenter 9c911962f9 drm/panel: s6e8aa0: silence array overflow warning
Smatch complains that we are reading beyond the end of the array here:

	drivers/gpu/drm/panel/panel-s6e8aa0.c:852 s6e8aa0_read_mtp_id()
	warn: buffer overflow 's6e8aa0_variants' 4 <= 4

We set the error code, so it's not harmful but it looks like a return
was intended here so lets add that and silence the warning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-06-05 16:46:39 +02:00
..
Kconfig drm/panel: add S6E8AA0 driver 2014-04-04 21:24:49 +09:00
Makefile drm/panel: add S6E8AA0 driver 2014-04-04 21:24:49 +09:00
panel-ld9040.c drm/panel: add ld9040 driver 2014-04-04 21:24:48 +09:00
panel-s6e8aa0.c drm/panel: s6e8aa0: silence array overflow warning 2014-06-05 16:46:39 +02:00
panel-simple.c drm/panel: add support for LG LD070WX3-SL01 panel 2014-04-04 09:06:40 +02:00