[PATCH] Staging: Fixed coding style warning

From: Panos Vlachos
Date: Tue Apr 12 2016 - 20:11:19 EST


Fixed coding style warning

Signed-off-by: Panos Vlachos <panosvlchs@xxxxxxxxx>
---
drivers/staging/lustre/lnet/lnet/nidstrings.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lnet/lnet/nidstrings.c b/drivers/staging/lustre/lnet/lnet/nidstrings.c
index ebf468f..f532e44 100644
--- a/drivers/staging/lustre/lnet/lnet/nidstrings.c
+++ b/drivers/staging/lustre/lnet/lnet/nidstrings.c
@@ -197,7 +197,7 @@ add_nidrange(const struct cfs_lstr *src,
struct netstrfns *nf;
struct nidrange *nr;
int endlen;
- unsigned netnum;
+ int netnum;

if (src->ls_len >= LNET_NIDSTR_SIZE)
return NULL;
--
1.9.1