Staging: Fixed coding style warning
PATCH 1/1 Staging: Fixed coding style warning
Fixed coding style warning
Signed-off-by Panos Vlachos <[email protected]>
--- drivers/staging/lustre/lnet/lnet/nidstrings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/lustre/lnet/lnet/nidstrings.c +1 -1
@@ -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 ;
Signature · 1 line
1.9.1
Quoted 1 line · Panos Vlachos
Fixed coding style warning
[]
drivers/staging/lustre/lnet/lnet/nidstrings.c
Quoted 1 line
drivers/staging/lustre/lnet/lnet/nidstrings.c +0
-0
[]
drivers/staging/lustre/lnet/lnet/nidstrings.c add_nidrange(const struct cfs_lstr *src, · line 200
Quoted 6 lines
drivers/staging/lustre/lnet/lnet/nidstrings.c +1
-1@@ -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?
Quoted 1 line · Panos Vlachos
Fixed coding style warning
What warning?
And always put the driver name in the subject so we know where to merge this to.
And finally, use get_maintainer.pl to determine who to send this to.
thanks,
greg k-h