diff options
author | Hang Lu <hangl@codeaurora.org> | 2021-04-09 11:40:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-10 10:52:04 +0200 |
commit | 005169157448ca41eff8716d79dc1b8f158229d2 (patch) | |
tree | 6da157c613106d8aa3383c0b90705aac0fb6b25f /drivers/android/binder_internal.h | |
parent | Merge tag 'extcon-next-for-5.13' of git://git.kernel.org/pub/scm/linux/kernel... (diff) | |
download | linux-005169157448ca41eff8716d79dc1b8f158229d2.tar.xz linux-005169157448ca41eff8716d79dc1b8f158229d2.zip |
binder: fix the missing BR_FROZEN_REPLY in binder_return_strings
Add BR_FROZEN_REPLY in binder_return_strings to support stat function.
Fixes: ae28c1be1e54 ("binder: BINDER_GET_FROZEN_INFO ioctl")
Acked-by: Todd Kjos <tkjos@google.com>
Signed-off-by: Hang Lu <hangl@codeaurora.org>
Link: https://lore.kernel.org/r/1617961246-4502-2-git-send-email-hangl@codeaurora.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/android/binder_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/android/binder_internal.h b/drivers/android/binder_internal.h index 2872a7de68e1..a50716696fad 100644 --- a/drivers/android/binder_internal.h +++ b/drivers/android/binder_internal.h @@ -155,7 +155,7 @@ enum binder_stat_types { }; struct binder_stats { - atomic_t br[_IOC_NR(BR_FAILED_REPLY) + 1]; + atomic_t br[_IOC_NR(BR_FROZEN_REPLY) + 1]; atomic_t bc[_IOC_NR(BC_REPLY_SG) + 1]; atomic_t obj_created[BINDER_STAT_COUNT]; atomic_t obj_deleted[BINDER_STAT_COUNT]; |