Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932882AbcLMSWM (ORCPT ); Tue, 13 Dec 2016 13:22:12 -0500 Received: from smtprelay0083.hostedemail.com ([216.40.44.83]:58033 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932241AbcLMSWK (ORCPT ); Tue, 13 Dec 2016 13:22:10 -0500 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:1541:1593:1594:1711:1730:1747:1777:1792:2194:2199:2393:2559:2562:2693:2828:3138:3139:3140:3141:3142:3352:3622:3865:3867:3868:3871:3872:3873:3874:4321:5007:6742:7903:8660:9108:10004:10400:10848:11026:11232:11658:11914:12043:12305:12438:12740:12760:13069:13148:13230:13311:13357:13439:14096:14097:14181:14659:14721:21080:21324:30012:30054:30062: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: watch99_2eb9170d57263 X-Filterd-Recvd-Size: 2643 Message-ID: <1481653317.29291.19.camel@perches.com> Subject: Re: [PATCH V8 3/3] irqchip: qcom: Add IRQ combiner driver From: Joe Perches To: Agustin Vega-Frias , Marc Zyngier Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, rjw@rjwysocki.net, lenb@kernel.org, tglx@linutronix.de, jason@lakedaemon.net, timur@codeaurora.org, cov@codeaurora.org, agross@codeaurora.org, harba@codeaurora.org, jcm@redhat.com, msalter@redhat.com, mlangsdo@redhat.com, ahs3@redhat.com, astone@redhat.com, graeme.gregory@linaro.org, guohanjun@huawei.com, charles.garcia-tobin@arm.com Date: Tue, 13 Dec 2016 10:21:57 -0800 In-Reply-To: <78bfd90d47200347628f7dd98451122f@codeaurora.org> References: <1480460259-8585-1-git-send-email-agustinv@codeaurora.org> <1480460259-8585-4-git-send-email-agustinv@codeaurora.org> <78bfd90d47200347628f7dd98451122f@codeaurora.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.1-0ubuntu2 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: 1240 Lines: 38 On Tue, 2016-12-13 at 10:23 -0500, Agustin Vega-Frias wrote: > On 2016-12-07 13:16, Marc Zyngier wrote: > > > + } > > > + > > > + combiner->domain = irq_domain_create_linear( > > > + pdev->dev.fwnode, combiner->nirqs, &domain_ops, combiner); > > > > On a single line, please. Do no listen to the checkpatch police that > > will tell you otherwise. It really hurt my eyes to see this opening > > bracket and *nothing* after that. > > Will do. It seems generally preferred to have at least one argument on the same line as the function being called. So, here are some options: Maximally fill the lines to 80 columns with the value being set and function call while aligning to open parenthesis combiner->domain = irq_domain_create_linear(pdev->dev.fwnode, combiner->nirqs, &domain_ops, combiner); Use a separate line for the function call: combiner->domain = irq_domain_create_linear(pdev->dev.fwnode, combiner->nirqs, &domain_ops, combiner); Or just ignore the 80 column limit wherever you deem appropriate. No single style is universal, use what you think best. Anyway, long identifiers (24 chars here) make staying within the "strongly preferred" 80 column limit produce quite silly looking code.