[PATCH 1/1] drivers: android: Cleanup warnings

2017-12-16 Thread Harsh Shandilya
ignored in favor of code readability. Cc: Greg Kroah-Hartman Cc: Todd Kjos Cc: Martijn Coenen Cc: de...@driverdev.osuosl.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Harsh Shandilya --- drivers/android/binder.c | 39 ++- drivers/android/binde

[PATCH 1/2] drivers: android: Use octal permissions

2017-12-22 Thread Harsh Shandilya
From: Harsh Shandilya checkpatch warns against the use of symbolic permissions, this patch migrates all symbolic permissions in the binder driver to octal permissions. Test: debugfs nodes created by binder have the same unix permissions prior to and after this patch was applied. Signed-off-by

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

2017-12-22 Thread Harsh Shandilya
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