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

Patrik Jakobsson patrik.r.jakobsson at gmail.com
Tue Nov 17 14:03:52 PST 2015


On Tue, Nov 17, 2015 at 10:23 PM, David Binderman <dcb314 at hotmail.com> wrote:
> 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.

Hi David

There's a patch to fix that in the queue so will be sorted in upstream for 4.4.

Thanks for letting me know
Patrik

>
> Regards
>
> David Binderman
>
>


More information about the dri-devel mailing list