Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756088AbbDGO0T (ORCPT ); Tue, 7 Apr 2015 10:26:19 -0400 Received: from smtprelay0006.hostedemail.com ([216.40.44.6]:37221 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756062AbbDGO0S (ORCPT ); Tue, 7 Apr 2015 10:26:18 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::,RULES_HIT:41:355:379:541:599:800:960: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:2553:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3653:3865:3866:3867:3868:3870:3871:3872:3873:3874:4250:4321:5007:6261:7903:10004:10400:10848:10967:11026:11232:11473:11658:11914:12296:12517:12519:12663:12740:13069:13311:13357:14096:14097: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: head59_70e943c0e075c X-Filterd-Recvd-Size: 2100 Message-ID: <1428416773.20888.100.camel@perches.com> Subject: Re: [PATCH] sched/core: Drop debugging leftover trace_printk call From: Joe Perches To: Steven Rostedt Cc: Juri Lelli , Borislav Petkov , Ingo Molnar , LKML , "Peter Zijlstra (Intel)" , Juri Lelli Date: Tue, 07 Apr 2015 07:26:13 -0700 In-Reply-To: <20150407101036.59f1427e@gandalf.local.home> References: <1428050570-21041-1-git-send-email-bp@alien8.de> <5523E006.4050507@arm.com> <1428415297.20888.92.camel@perches.com> <20150407101036.59f1427e@gandalf.local.home> 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: 1232 Lines: 33 On Tue, 2015-04-07 at 10:10 -0400, Steven Rostedt wrote: > On Tue, 07 Apr 2015 07:01:37 -0700 > Joe Perches wrote: > > > o Please add a test for $realfile !~ m@kernel/trace/@ > > or maybe $realfile !~ /(?:trace|tracing)/ > > o ERROR seems a bit strong, WARN is probably good enough > > I'm thinking ERROR is good. There's no reason to have it. In fact, you > must never have it. Looking at the other ERROR() conditions, I say this Look at trace_printk in fs/ext4/inline.c It's in a section guarded by a CONFIG_FOO_DEBUG block. Is the use there an error? Perhaps not and I think it better if checkpatch ERROR messages are more definitive. > is just as strong and perhaps even stronger. You have ERROR() for > trailing white space. This is much worse than that. I'm not much of a fan of that one, nor of most of the ERROR uses in checkpatch actually. I think it might be better if all of the checkpatch whitespace/style related messages were WARN not ERROR. -- 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/