Skip to content

Commit

Permalink
SAUCE: binder: give binder_alloc its own debug mask file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
brauner authored and xanmod committed May 12, 2021
1 parent 8638a5a commit fae72b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/android/binder_alloc.c
Expand Up @@ -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 { \
Expand Down

0 comments on commit fae72b0

Please sign in to comment.