Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753638AbbDGMfJ (ORCPT ); Tue, 7 Apr 2015 08:35:09 -0400 Received: from smtprelay0122.hostedemail.com ([216.40.44.122]:52758 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753627AbbDGMfF (ORCPT ); Tue, 7 Apr 2015 08:35:05 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::,RULES_HIT:41:355:379:541:599:967:973:982:988:989:1260:1263:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1542:1593:1594:1711:1730:1747:1777:1792:2110:2393:2525:2560:2563:2682:2685:2693:2828:2859:2897:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3354:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:4552:5007:6261:7875:7903:8666:8985:9025:9388:10004:10400:10432:10433:10471:10848:11232:11658:11854:11914:12043:12517:12519:12555:12740:13025:13149:13151:13160:13161:13163:13228:13229:13230:13255:14093:14096:14097:19903:19997: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: match85_ee92d01f3005 X-Filterd-Recvd-Size: 3602 Message-ID: <1428410100.20888.83.camel@perches.com> Subject: Re: about the flood of trivial patches and the Code of Conduct (was: Re: [PATCH 19/25] sched: Use bool function return values of true/false not 1/0) From: Joe Perches To: Ingo Molnar Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, Ingo Molnar , Greg Kroah-Hartman , Linus Torvalds , Peter Zijlstra , Thomas Gleixner , "H. Peter Anvin" Date: Tue, 07 Apr 2015 05:35:00 -0700 In-Reply-To: <20150407091246.GA9673@gmail.com> References: <93bd3fb8db14c75508f7169840824539a3f89606.1427759010.git.joe@perches.com> <20150331085320.GR27490@worktop.programming.kicks-ass.net> <20150331090349.GA16604@gmail.com> <1427820400.10376.23.camel@perches.com> <20150407091246.GA9673@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 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: 2400 Lines: 73 On Tue, 2015-04-07 at 11:12 +0200, Ingo Molnar wrote: > I don't think you have answered PeterZ's > legitimate technical question adequately: As I wrote before, ~13000:180 is a big ratio. http://www.kernelhub.org/?p=2&msg=718145 > what are the technological > justifications for doing this 25 patches series - returning 0/1 or > true/false is clearly a matter of taste unless mixed within the same > function. I presume you mean file rather than function. 21 of the 55 files modified already used "return true" or "return false" for other bool function returns. Many of the 1/0 uses were in functions where the function return type was changed from int to bool but the return statements were unchanged. Expectation and consistency matter. To what degree is, as always, debatable. Code that causes a reader to "stall" when reading is generally not good. Patches that span subsystems, given the distribution of interest and responsibilities in the kernel, generally aren't possible to apply by any single maintainer. It's generally necessary to split even these admittedly trivial patches by area of maintainership. Bypassing actual maintainers by sending only to the nominal trivial maintainer isn't good. > In fact what are your technological justifications for doing > so many trivial patches in general? Consistency improves reading speed and can help reduce future defects. > Please don't bother producing and sending me such trivial patches My creation of these types of patches either singly or in a series is fairly automated. I will sed your name and email address out of the scripts that generate the "To:" and "CC:" lists for patches in the future. If any other person with a MAINTAINERS entry wants not to receive these types of patches from me, please let me know privately. > Pointing out this truth and protecting against such abusive flood of > trivial patches is not against the code of conduct I signed. Jokes are hard. "Be excellent to each other" can be too, but shouldn't be. Manners and civility are important. Yours, like mine, can always be improved. We all should strive for that improvement. cheers, Joe -- 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/