diff options
author | Nikola Jelic <nikola.jelic83@gmail.com> | 2017-05-28 00:37:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-03 11:32:41 +0300 |
commit | e4e5f9c6c7fc76daa8f6118ce2c4f822b366ed21 (patch) | |
tree | 2ccfa44edb816ebb42dc4651d4db051da359bdf8 /drivers/staging/lustre | |
parent | 78c486189dde9affd39a2a8b9d27ee32cea4a04e (diff) | |
download | linux-e4e5f9c6c7fc76daa8f6118ce2c4f822b366ed21.tar.xz |
staging: lustre: changed __u32 to __be32
Temporary variable is used only as __be32, for both assignments and reads,
but the type is inconsistent (__u32).
Signed-off-by: Nikola Jelic <nikola.jelic83@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r-- | drivers/staging/lustre/lnet/lnet/lib-socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lnet/lnet/lib-socket.c b/drivers/staging/lustre/lnet/lnet/lib-socket.c index 9fca8d225ee0..776f3c2fa486 100644 --- a/drivers/staging/lustre/lnet/lnet/lib-socket.c +++ b/drivers/staging/lustre/lnet/lnet/lib-socket.c @@ -89,7 +89,7 @@ lnet_ipif_query(char *name, int *up, __u32 *ip, __u32 *mask) struct ifreq ifr; int nob; int rc; - __u32 val; + __be32 val; nob = strnlen(name, IFNAMSIZ); if (nob == IFNAMSIZ) { |