Skip to content

Commit

Permalink
hpsa: fix endianness issue with scatter gather elements
Browse files Browse the repository at this point in the history
The hardware needs little endian scatter gather addresses and
lengths but we were not bothering to convert from cpu byte
order as we should have been.  On Intel, this is all just
a bunch of no-ops macros, but it makes the code endian-clean(er).

Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Robert Elliott <elliott@hp.com>
Reviewed-by: Webb Scales <webbnh@hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
  • Loading branch information
Stephen M. Cameron authored and Christoph Hellwig committed Nov 20, 2014
1 parent 9208471 commit 50a0dec
Show file tree
Hide file tree
Showing 2 changed files with 107 additions and 130 deletions.
Loading

0 comments on commit 50a0dec

Please sign in to comment.