]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
UBUNTU: SAUCE: binder: give binder_alloc its own debug mask file
authorChristian Brauner <christian@brauner.io>
Wed, 23 Jan 2019 20:54:23 +0000 (21:54 +0100)
committerAndrea Righi <andrea.righi@canonical.com>
Mon, 25 Nov 2019 13:56:36 +0000 (14:56 +0100)
Currently both binder.c and binder_alloc.c both register the
/sys/module/binder_linux/paramters/debug_mask file which leads to conflicts
in sysfs. This commit gives binder_alloc.c its own
/sys/module/binder_linux/paramters/alloc_debug_mask file.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/android/binder_alloc.c

index eb76a823fbb200f008b0e4c6ad02bc5818929857..fe0a4c15dfb0a5285631c12e8778ec627841dc42 100644 (file)
@@ -38,8 +38,7 @@ enum {
 };
 static uint32_t binder_alloc_debug_mask = BINDER_DEBUG_USER_ERROR;
 
-module_param_named(debug_mask, binder_alloc_debug_mask,
-                  uint, 0644);
+module_param_named(alloc_debug_mask, binder_alloc_debug_mask, uint, 0644);
 
 #define binder_alloc_debug(mask, x...) \
        do { \