diff options
author | Daniel Mentz <danielmentz@google.com> | 2017-03-09 09:36:16 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-03-20 18:05:21 +0100 |
commit | 5653c6462f56e13cb943cd572fdae9252157a523 (patch) | |
tree | 3bdb0b12ddc8ec0a33ec2bcfa8f4e8a5e6250ea3 /drivers/net/wireless/marvell/mwifiex/cmdevt.c | |
parent | mwifiex: add qualifier to firmware structures (diff) | |
download | linux-5653c6462f56e13cb943cd572fdae9252157a523.tar.xz linux-5653c6462f56e13cb943cd572fdae9252157a523.zip |
mwifiex: Use accessors routines for unaligned values
Synopsys' ARCompact architecture does not support loading from or
storing values to unaligned memory locations. We saw a series of
misaligned access exceptions on ARC. To work around this issue, we bulk
replaced le16_to_cpu and le32_to_cpu with get_unaligned_le16 and
get_unaligned_le32, respectively. We also added le16_unaligned_add_cpu
which is similar to le16_add_cpu but works with unaligned values.
Signed-off-by: Daniel Mentz <danielmentz@google.com>
Signed-off-by: Ganapathi Bhat <gbhat@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/cmdevt.c')
0 files changed, 0 insertions, 0 deletions