git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d61ec84
)
dmi: Avoid unaligned memory access in save_mem_devices()
author
Luck, Tony
<tony.luck@intel.com>
Fri, 1 Nov 2013 20:59:52 +0000
(13:59 -0700)
committer
Ingo Molnar
<mingo@kernel.org>
Sun, 3 Nov 2013 09:40:12 +0000
(10:40 +0100)
Firmware is not required to maintain alignment of SMBIOS
entries, so we should take care accessing fields within these
structures. Use "get_unaligned()" to avoid problems.
[ Found on ia64 (which grumbles about unaligned access) ]
Signed-off-by: Tony Luck <tony.luck@intel.com>
Cc: Chen Gong <gong.chen@linux.intel.com>
Link:
http://lkml.kernel.org/r/27d82dbff5be1025bf18ab88498632d36c2fcf3c.1383331440.git.tony.luck@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
No differences found