Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751443AbbHEDc4 (ORCPT ); Tue, 4 Aug 2015 23:32:56 -0400 Received: from smtprelay0145.hostedemail.com ([216.40.44.145]:41853 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750829AbbHEDcz (ORCPT ); Tue, 4 Aug 2015 23:32:55 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:968:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1539:1567:1593:1594:1711:1714:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3622:3865:3868:4321:5007:6261:6742:10004:10400:10848:11026:11232:11657:11658:11914:12043:12517:12519:12740:13069:13161:13229:13311:13357:21080,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 X-HE-Tag: steel27_533f694fc4733 X-Filterd-Recvd-Size: 1733 Message-ID: <1438745570.2679.2.camel@perches.com> Subject: Re: [PATCH] staging: lustre: Fix coding style errors From: Joe Perches To: Jandy Gou Cc: gregkh@linuxfoundation.org, oleg.drokin@intel.com, andreas.dilger@intel.com, jsimmons@infradead.org, jmmahler@gmail.com, heenasirwani@gmail.com, shuey@purdue.edu, haticeerturk27@gmail.com, HPDD-discuss@ml01.01.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Date: Tue, 04 Aug 2015 20:32:50 -0700 In-Reply-To: <1438675807-11682-2-git-send-email-qingsong.gou@ck-telecom.com> References: <1438675807-11682-1-git-send-email-qingsong.gou@ck-telecom.com> <1438675807-11682-2-git-send-email-qingsong.gou@ck-telecom.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.11-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 851 Lines: 22 On Tue, 2015-08-04 at 16:10 +0800, Jandy Gou wrote: > Signed-off-by: Jandy Gou [] > diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h [] > @@ -721,7 +721,7 @@ kiblnd_nid2peerlist (lnet_nid_t nid) > unsigned int hash = > ((unsigned int)nid) % kiblnd_data.kib_peer_hash_size; > > - return (&kiblnd_data.kib_peers [hash]); > + return (&kiblnd_data.kib_peers[hash]); Please run your own patches though checkpatch and please remove the unnecessary parenthesis around the return value at the same time. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/