diff options
author | John Keeping <[email protected]> | 2017-02-24 12:54:53 +0000 |
---|---|---|
committer | Sean Paul <[email protected]> | 2017-03-01 14:48:53 -0500 |
commit | 1ed498b03d3e999dd270815a2f18f0b81998b83f (patch) | |
tree | 8d519fb27e237faa74f8584914bb64ace68cc970 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 7361c6f82940db147e6bbfd3ae2b8359d1004020 (diff) |
drm/rockchip: dw-mipi-dsi: don't assume buffer is aligned
By dereferencing the MIPI command buffer as a u32* we rely on it being
correctly aligned on ARM, but this may not be the case. Copy it into a
stack variable that will be correctly aligned.
Signed-off-by: John Keeping <[email protected]>
Reviewed-by: Chris Zhong <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions