On Wed, Apr 09, 2014 at 06:21:12PM +0300, Dan Carpenter wrote: > 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 at oracle.com>
Applied, thanks. Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140502/53d6236d/attachment-0001.sig>