commit | d755290689646fa66cc4830ca55569f2c9863666 | [log] [tgz] |
---|---|---|
author | Nicolai Stange <nicstange@gmail.com> | Tue Mar 22 13:12:39 2016 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Tue Apr 05 20:35:48 2016 +0800 |
tree | 1f53b405afdfe27b0b5549fb5283b0f5b162b64a | |
parent | cece762f6f3cb1c1687f467e98faef21b0096600 [diff] |
lib/mpi: mpi_write_sgl(): replace open coded endian conversion Currently, the endian conversion from CPU order to BE is open coded in mpi_write_sgl(). Replace this by the centrally provided cpu_to_be*() macros. Signed-off-by: Nicolai Stange <nicstange@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>