diff options
author | Nicolai Stange <nicstange@gmail.com> | 2016-03-22 13:12:39 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-04-05 14:35:48 +0200 |
commit | d755290689646fa66cc4830ca55569f2c9863666 (patch) | |
tree | 1f53b405afdfe27b0b5549fb5283b0f5b162b64a /net/sctp | |
parent | lib/mpi: mpi_write_sgl(): fix out-of-bounds stack access (diff) | |
download | linux-d755290689646fa66cc4830ca55569f2c9863666.tar.xz linux-d755290689646fa66cc4830ca55569f2c9863666.zip |
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>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions