[linux-4.4-rc1/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c:206: possible missing comma ?

David Binderman dcb314 at hotmail.com
Tue Nov 17 13:23:11 PST 2015


Hello there,

[linux-4.4-rc1/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c:206]: (error) Array 'dsi_errors[31]' accessed at index 31, which is out of bounds.

I looks to me like array dsi_errors is badly laid out:

    "LP Generic Write FIFO Full",
    "Generic Read Data Avail"
    "Special Packet Sent",

Missing comma means the consecutive strings are concatenated and so there are only
31 elements in the array, not the presumably intended 32.

Regards

David Binderman

 		 	   		  


More information about the dri-devel mailing list