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:
parent
78c486189d
commit
e4e5f9c6c7
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue