diff options
author | Anton Blanchard <anton@samba.org> | 2013-12-11 23:59:38 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-12-12 23:48:36 -0500 |
commit | 9fa2984d1b5d9736a88c813ae89c160a2f9d5308 (patch) | |
tree | 4fcea94434dbf3b12df2632ee36505bbeaf87804 /drivers/message/fusion/lsi/mpi_raid.h | |
parent | ca5de4e652ea09c0c18ebbd12dd4c2149271245a (diff) |
powerpc/pseries: Fix endian issues in nvram code
The NVRAM code has a number of endian issues. I noticed a very
confused error log count:
RTAS: 100663330 -------- RTAS event begin --------
100663330 == 0x06000022. 0x6 LE error logs and 0x22 BE error logs.
The pstore code has similar issues - if we write an oops in one
endian and attempt to read it in another we get junk.
Make both of these formats big endian, and byteswap as required.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/message/fusion/lsi/mpi_raid.h')
0 files changed, 0 insertions, 0 deletions