Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1713929pxa; Thu, 20 Aug 2020 19:37:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRIal2/u8ioPv1lEiiOWnHSFg0KZFMLPW2CY/HuFExIVTb5lquUKCHBQglh9TtNyEr0chf X-Received: by 2002:a05:6402:2037:: with SMTP id ay23mr799410edb.48.1597977453307; Thu, 20 Aug 2020 19:37:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597977453; cv=none; d=google.com; s=arc-20160816; b=hYcOmz5KlGplYagj/v6O4pc9NxXzhIVDjoETgqCwiQvZH+dWDtyFNglLeoKkB1ilHd IYsZDUBVnugZYQPpMa65lo5ESFXjTFfOl7+4fOYXs+h1pBXySvXzvLOvw+yGLVVKCgA2 fmmA59TXUligVLomF55KvK6/02KCxtoQNZAH5LmhAUZZ2Wh5y2KtrVUH4AczdKD9KOUj wBVHlP9GT3Sp7g77ZiGwHyVss7NCV96ePz0jWWr5aKqPXc3iFFpQOzZu5WwlSWVedaXg OKhdzJPItaYwNnJEGLUy213nNrg2d5RN6x52n2wY2mngFiGg33iakSJhiYiNLO3Ghh/I dFqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=LYhakZm+KJI+s5QxGgdVhDRFXe7aC6vS1PG6RnWULKk=; b=A+Hep2Fn/DzvEaLnLAaQ++jkcaBVnVlO046BWBv7fPoay45cQJqZz+KKyV/NsLJLOU +9+mNwD1fK78R+WU7Riqg5rU/wHbhmdSLyRQmw4twNCt60ZDR0kkX1p8b1X22OzhHP1b ipfJYzrcUTmvKi/iCRe6uLx4hZ3Hb/Y48A7s5Zl2u6K1hw4ea/zX1Afpefsuu8J1LWQe aN8anEv+FNxdOkUfImOkYoAWZCk4DIHZd2kSYf+bNnKcjsvyCdT1w20aeLWsuDpEgn5k dbEu+4liWMZ5MtIKgprzgwi125oyXMBjKDDCQIbMd8ZvWL9fVSLGYqy398QPR2HmmiXp agbA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s20si325678edx.347.2020.08.20.19.37.07; Thu, 20 Aug 2020 19:37:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727082AbgHUCgZ (ORCPT + 99 others); Thu, 20 Aug 2020 22:36:25 -0400 Received: from smtprelay0077.hostedemail.com ([216.40.44.77]:60316 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726974AbgHUCgY (ORCPT ); Thu, 20 Aug 2020 22:36:24 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id CB171100E7B43; Fri, 21 Aug 2020 02:36:22 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2828:2895:3138:3139:3140:3141:3142:3352:3622:3865:3867:3868:3870:3871:3872:3874:4321:5007:6117:6248:6742:7903:10004:10400:10848:10967:11232:11658:11914:12296:12297:12740:12760:12895:13069:13311:13357:13439:14181:14659:14721:14777:21080:21324:21433:21627:21972:21990:30006:30012:30054:30060:30070:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: army26_490db1927035 X-Filterd-Recvd-Size: 2425 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf04.hostedemail.com (Postfix) with ESMTPA; Fri, 21 Aug 2020 02:36:20 +0000 (UTC) Message-ID: Subject: Re: [PATCH v4 3/3] media: atomisp: Only use trace_printk if allowed From: Joe Perches To: Steven Rostedt , Nicolas Boichat Cc: Mauro Carvalho Chehab , Greg Kroah-Hartman , Andy Shevchenko , Sakari Ailus , devel@driverdev.osuosl.org, lkml , Linux Media Mailing List , Peter Zijlstra , Thomas Gleixner , Josh Poimboeuf , Douglas Anderson , Guenter Roeck Date: Thu, 20 Aug 2020 19:36:19 -0700 In-Reply-To: <20200820215701.667f02b2@oasis.local.home> References: <20200820170951.v4.1.Ia54fe801f246a0b0aee36fb1f3bfb0922a8842b0@changeid> <20200820170951.v4.3.I066d89f39023956c47fb0a42edf196b3950ffbf7@changeid> <20200820102347.15d2f610@oasis.local.home> <20200820203601.4f70bf98@oasis.local.home> <20200820215701.667f02b2@oasis.local.home> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.4-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-08-20 at 21:57 -0400, Steven Rostedt wrote: > On Fri, 21 Aug 2020 09:39:19 +0800 > Nicolas Boichat wrote: [] > > Some other approaches/ideas: > > 1. Filter all lkml messages that contain trace_printk. Already found > > 1 instance, and I can easily reply to those with a semi-canned answer, > > if I remember to check that filter regularly (not sustainable in the > > long run...). > > Added Joe Perches to the thread. > > We can update checkpatch.pl to complain about a trace_printk() that it > finds in the added code. Why? I don't see much value in a trace_printk checkpatch warning. tracing is still dependent on CONFIG_TRACING otherwise trace_printk is an if (0) ELI5 please.