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>
This commit is contained in:
Nikola Jelic 2017-05-27 23:37:28 +02:00 committed by Greg Kroah-Hartman
parent 78c486189d
commit e4e5f9c6c7
1 changed files with 1 additions and 1 deletions

View File

@ -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) {