[PATCH 2/2] drivers: android: Fix logtags in methods

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Jan 9 17:02:14 UTC 2018


On Fri, Dec 22, 2017 at 07:37:03PM +0530, Harsh Shandilya wrote:
> From: Harsh Shandilya <harsh at prjkt.io>
> 
> 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 <harsh at prjkt.io>
> 
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: "Arve Hjønnevåg" <arve at android.com>
> Cc: Todd Kjos <tkjos at android.com>
> Cc: Martijn Coenen <maco at android.com>
> Cc: devel at driverdev.osuosl.org
> Cc: linux-kernel at vger.kernel.org
> ---
>  drivers/android/binder.c | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)

Patch does not apply to my tree :(


More information about the devel mailing list