]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: lustre: in-place endianness functions
authorNikola Jelic <nikola.jelic83@gmail.com>
Sat, 27 May 2017 22:14:11 +0000 (00:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Jun 2017 08:32:41 +0000 (17:32 +0900)
commitd0b112ac2ae3738a9f1a86f97dc5fbd23be7e123
treec0f9715ad9b9c9678298ac4a3da2f67eadecf6b4
parente4e5f9c6c7fc76daa8f6118ce2c4f822b366ed21
staging: lustre: in-place endianness functions

lib-move.c file has a lot of expressions in the form of:
v = le[32|64]_to_cpu(v);
This caused a lot of sparse warnings.
Replaced with:
le[32|64]_to_cpus(&v);

Signed-off-by: Nikola Jelic <nikola.jelic83@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/lnet/lib-move.c