Re: [PATCH] drm/udl: Fix unaligned memory access in udl_render_hline

From: Jonathan NeuschÃfer
Date: Tue Apr 11 2017 - 11:35:06 EST


On Tue, Apr 11, 2017 at 09:30:53AM -0400, Sean Paul wrote:
> On Fri, Apr 07, 2017 at 10:02:29PM +0200, Jonathan NeuschÃfer wrote:
> > On SPARC, the udl driver filled my kernel log with these messages:
> >
> > [186668.910612] Kernel unaligned access at TPC[76609c] udl_render_hline+0x13c/0x3a0
> >
> > Use put_unaligned_be16 to avoid them. On x86 this results in the same
> > code, but on SPARC the compiler emits two single-byte stores.
> >
>
> Pushed to drm-misc-fixes with Dave's IRC Ack.
>
> Thanks,
>
> Sean

Thanks as well :-)


Jonathan

Attachment: signature.asc
Description: PGP signature