diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2017-04-07 22:02:29 +0200 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2017-04-11 09:21:30 -0400 |
commit | 0c45b36f8acc89cb94c8696a27574f01e0e411dc (patch) | |
tree | 052fb562e5b323531b356aa2ec2cf61934262e9d /lib/lcm.c | |
parent | a71c9a1c779f2499fb2afc0553e543f18aff6edf (diff) |
drm/udl: Fix unaligned memory access in udl_render_hlinedrm-misc-fixes-2017-04-11
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.
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Acked-by: David Airlie <airlied@linux.ie>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170407200229.20642-1-j.neuschaefer@gmx.net
Diffstat (limited to 'lib/lcm.c')
0 files changed, 0 insertions, 0 deletions