Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754009AbbBKUUd (ORCPT ); Wed, 11 Feb 2015 15:20:33 -0500 Received: from smtprelay0141.hostedemail.com ([216.40.44.141]:53093 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752796AbbBKUUc (ORCPT ); Wed, 11 Feb 2015 15:20:32 -0500 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:967:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2525:2553:2561:2564:2682:2685:2828:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3167:3352:3622:3865:3866:3867:3868:3870:3871:3872:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:5007:6119:6261:6742:7903:7974:8985:9025:9405:10004:10400:10450:10455:10848:11232:11658:11914:12043:12517:12519:12663:12740:13069:13311:13357:14096:14097:19904:19999: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: tent40_3fbf63fc404a X-Filterd-Recvd-Size: 2778 Message-ID: <1423686025.15343.20.camel@perches.com> Subject: Re: checkpatch induced patches... From: Joe Perches To: Richard Weinberger Cc: Dan Carpenter , Andrew Morton , "devel@driverdev.osuosl.org" , gmate.amit@gmail.com, Greg KH , Bas Peters , LKML , Pushpendra Singh , manuel.schoelling@gmx.de, Sudip Mukherjee , Pavel Machek , Kalle Valo Date: Wed, 11 Feb 2015 12:20:25 -0800 In-Reply-To: References: <1423573373-820-1-git-send-email-pushpendra.singh@smartplayin.com> <1423573373-820-2-git-send-email-pushpendra.singh@smartplayin.com> <20150210141307.GB15593@sudip-PC> <20150211083328.GJ5206@mwanda> <1423647637.15343.16.camel@perches.com> <20150211105122.GN5206@mwanda> <1423677629.15343.18.camel@perches.com> <20150211183615.GQ5206@mwanda> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.7-0ubuntu1 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: 1310 Lines: 38 On Wed, 2015-02-11 at 21:02 +0100, Richard Weinberger wrote: > On Wed, Feb 11, 2015 at 7:36 PM, Dan Carpenter wrote: > > On Wed, Feb 11, 2015 at 10:00:29AM -0800, Joe Perches wrote: > >> I'm half tempted to submit some patch like this to > >> make it difficult to use checkpatch on files outside > >> of drivers/staging. > >> > >> o Only allow checkpatch to be used with the -f/--file > >> option for drivers/staging/ > >> o Add an undocumented --force command line option > > > > Sure. We could try that. I once sent a patch to make -f generate a > > warning about not wasting people's time, but this is also ok. > > > >> o Make --strict the default for drivers/staging > > > > Ack. > > FYI: We had already a heated debate on that topic. > https://lkml.org/lkml/2014/7/17/415 Yeah, I remember. It's always a pleasure to chat with Borislav. This is basically a patch that implements my suggestion in that thread. https://lkml.org/lkml/2014/7/17/427 I wonder if the undocumented --force option is acceptable to Pavel and Kalle. -- 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/