Re: [PATCH] Staging: Fixed coding style warning

From: Joe Perches
Date: Tue Apr 12 2016 - 20:20:20 EST


On Wed, 2016-04-13 at 03:10 +0300, Panos Vlachos wrote:
> Fixed coding style warning
[]
> diff --git 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;

Why change the type from unsigned to signed?