From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757898AbcDMAUP (ORCPT ); Tue, 12 Apr 2016 20:20:15 -0400 Received: from smtprelay0218.hostedemail.com ([216.40.44.218]:47511 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757830AbcDMAUO (ORCPT ); Tue, 12 Apr 2016 20:20:14 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::,RULES_HIT:41:355:379:541:599:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1538:1566:1593:1594:1711:1714:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3622:3865:3867:4321:5007:6119:10004:10400:10848:11232:11657:11658:11914:12043:12296:12517:12519:12740:13069:13311:13357:13439:13894:14659:14721:21080:30054:30064:30070:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: rail73_761e1b294e645 X-Filterd-Recvd-Size: 1213 Message-ID: <1460506807.24619.0.camel@perches.com> Subject: Re: [PATCH] Staging: Fixed coding style warning From: Joe Perches To: Panos Vlachos , oleg.drokin@intel.com Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Date: Tue, 12 Apr 2016 17:20:07 -0700 In-Reply-To: <1460506245-31194-1-git-send-email-panosvlchs@gmail.com> References: <1460506245-31194-1-git-send-email-panosvlchs@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.2-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?