Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1037962AbdDUKa4 (ORCPT ); Fri, 21 Apr 2017 06:30:56 -0400 Received: from smtprelay0253.hostedemail.com ([216.40.44.253]:56294 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1037590AbdDUKax (ORCPT ); Fri, 21 Apr 2017 06:30:53 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::,RULES_HIT:41:355:379:541:599:800:857:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2828:2911:3138:3139:3140:3141:3142:3352:3622:3866:3867:3868:4321:4425:4605:5007:6119:7514:7903:10004:10400:10848:10904:11026:11232:11658:11783:11914:12043:12296:12679:12740:12895:13069:13311:13357:13439:13894:14181:14659:14721:21080:21451:30029:30030:30054:30056: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:2,LUA_SUMMARY:none X-HE-Tag: idea85_5de778a74764d X-Filterd-Recvd-Size: 1914 Message-ID: <1492770644.30293.24.camel@perches.com> Subject: Re: [PATCH v3] Staging: most: use __func__ instead of the function name From: Joe Perches To: Chandra Annamaneni Cc: christian.gromm@microchip.com, andrey.shvetsov@k2l.de, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Date: Fri, 21 Apr 2017 03:30:44 -0700 In-Reply-To: References: Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.6-1ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 943 Lines: 28 On Fri, 2017-04-21 at 00:40 -0700, Chandra Annamaneni wrote: > Third Reminder. Please review. Patience. > On Sun, 9 Apr 2017, chandrasekhar annamaneni wrote: > > Second reminder, please review. [] > > On Fri, Mar 17, 2017 at 12:49 PM, Chandra Annamaneni > > wrote: > > > > Change video.c to use %s, __func__ instead of function names. > > Warnings flagged by checkpatch.pl [] > > diff --git a/drivers/staging/most/aim-v4l2/video.c [] > > @@ -79,7 +79,7 @@ static int aim_vdev_open(struct file *filp) > > ? ? ? ? struct most_video_dev *mdev = video_drvdata(filp); > > ? ? ? ? struct aim_fh *fh; > > > > -? ? ? ?v4l2_info(&mdev->v4l2_dev, "aim_vdev_open()\n"); > > +? ? ? ?v4l2_info(&mdev->v4l2_dev, "%s()\n", __func__); More likely all of these should be deleted as these seem to be function tracing logging and ftrace works well. see: Documentation/trace/ftrace.txt