summaryrefslogtreecommitdiff
path: root/mm/percpu-km.c
diff options
context:
space:
mode:
authorNicolai Stange <nicstange@gmail.com>2016-03-22 12:12:41 (GMT)
committerHerbert Xu <herbert@gondor.apana.org.au>2016-04-05 12:35:49 (GMT)
commit90f864e20029600a8dc33e27b1192af4636100d4 (patch)
tree73eba1689c2e633581f9fc84b2e1baf55d838d45 /mm/percpu-km.c
parentf00fa2417b3e1252b1a761f88731af03afff4407 (diff)
downloadlinux-90f864e20029600a8dc33e27b1192af4636100d4.tar.xz
lib/mpi: mpi_read_buffer(): replace open coded endian conversion
Currently, the endian conversion from CPU order to BE is open coded in mpi_read_buffer(). Replace this by the centrally provided cpu_to_be*() macros. Copy from the temporary storage on stack to the destination buffer by means of memcpy(). Signed-off-by: Nicolai Stange <nicstange@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'mm/percpu-km.c')
0 files changed, 0 insertions, 0 deletions