[PATCH libdrm] xf86drm: fix aliasing violation

Emil Velikov emil.l.velikov at gmail.com
Mon Dec 12 13:59:12 UTC 2016


On 11 December 2016 at 18:03, Grazvydas Ignotas <notasas at gmail.com> wrote:
> Just tell the compiler that drm_event will alias the char buffer,
> so that it has no excuse to warn or generate bad code.
>
Afacit this patch [1] from Thierry should correctly address the issue, correct ?
I've been meaning to parse through his branches [2] for fixes/others
but never got to it. Are you interested in giving it a go ?

Thanks
Emil

[1] https://cgit.freedesktop.org/~tagr/drm/commit/?h=staging/fixes&id=4ebf7b59e69e43cc3810141dff8e3ef3535f03b2
[2] https://cgit.freedesktop.org/~tagr/drm/


More information about the dri-devel mailing list