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

From: Greg Kroah-Hartman
Date: Tue Jan 09 2018 - 12:02:17 EST


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

Patch does not apply to my tree :(