Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1377444

Re: [PATCH] Staging: Fixed coding style warning

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject Re: [PATCH] Staging: Fixed coding style warning
Date 2016-04-13 02:30 +0200
Message-ID <rngQW-8jN-3@gated-at.bofh.it> (permalink)
References <rngHg-8eN-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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?

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] Staging: Fixed coding style warning Panos Vlachos <panosvlchs@gmail.com> - 2016-04-13 02:20 +0200
  Re: [PATCH] Staging: Fixed coding style warning Joe Perches <joe@perches.com> - 2016-04-13 02:30 +0200
  Re: [PATCH] Staging: Fixed coding style warning Greg KH <greg@kroah.com> - 2016-04-13 02:40 +0200

csiph-web