From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759935AbeAIRCO (ORCPT + 1 other); Tue, 9 Jan 2018 12:02:14 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:50476 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751981AbeAIRCM (ORCPT ); Tue, 9 Jan 2018 12:02:12 -0500 Date: Tue, 9 Jan 2018 18:02:14 +0100 From: Greg Kroah-Hartman To: Harsh Shandilya Cc: devel@driverdev.osuosl.org, Todd Kjos , linux-kernel@vger.kernel.org, Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Harsh Shandilya , Martijn Coenen Subject: Re: [PATCH 2/2] drivers: android: Fix logtags in methods Message-ID: <20180109170214.GA16149@kroah.com> References: <20171222140703.21235-1-msfjarvis@gmail.com> <20171222140703.21235-2-msfjarvis@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171222140703.21235-2-msfjarvis@gmail.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Fri, Dec 22, 2017 at 07:37:03PM +0530, Harsh Shandilya wrote: > From: Harsh Shandilya > > Several methods in the driver were hardcoding > the function name in their logging calls which > is a checkpatch violation. Utilise the __func__ > macro to avoid needing to add the function name > as is to the string. > > Test: logtags in dmesg remain unaffected before > and after the patch. > > Signed-off-by: Harsh Shandilya > > Cc: Greg Kroah-Hartman > Cc: "Arve Hjønnevåg" > Cc: Todd Kjos > Cc: Martijn Coenen > Cc: devel@driverdev.osuosl.org > Cc: linux-kernel@vger.kernel.org > --- > drivers/android/binder.c | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-) Patch does not apply to my tree :(