Messages in this thread | | | Date | Tue, 10 May 2022 12:12:00 +0200 | From | Christian Brauner <> | Subject | Re: [PATCH] binder: fix printk format for commands |
| |
On Mon, May 09, 2022 at 11:19:01PM +0000, Carlos Llamas wrote: > 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 > > Signed-off-by: Carlos Llamas <cmllamas@google.com> > ---
Looks good to me, Acked-by: Christian Brauner (Microsoft) <brauner@kernel.org>
| |