summaryrefslogtreecommitdiff
path: root/lib/clz_tab.c
diff options
context:
space:
mode:
authorCarlos Llamas <cmllamas@google.com>2022-05-09 23:19:01 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-19 18:41:11 +0200
commitda4864962d768b33e3bc31cd233270af6226686d (patch)
treed98d02206c083688c4fd7e9350020382b8efb006 /lib/clz_tab.c
parentdc6a7effb48e7267c9f1314e3aa8cfe539bd6096 (diff)
downloadlinux-next-da4864962d768b33e3bc31cd233270af6226686d.tar.gz
binder: fix printk format for commands
Make sure we use unsigned format specifier %u for binder commands as most of them are encoded above INT_MAX. This prevents negative values when logging them as in the following case: [ 211.895781] binder: 8668:8668 BR_REPLY 258949 0:0, cmd -2143260157 size 0-0 ptr 0000006e766a8000-0000006e766a8000 Acked-by: Todd Kjos <tkjos@google.com> Acked-by: Christian Brauner (Microsoft) <brauner@kernel.org> Signed-off-by: Carlos Llamas <cmllamas@google.com> Link: https://lore.kernel.org/r/20220509231901.3852573-1-cmllamas@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/clz_tab.c')
0 files changed, 0 insertions, 0 deletions