Re: [PATCH] binder: fix printk format for commands

From: Christian Brauner
Date: Tue May 10 2022 - 06:12:24 EST


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@xxxxxxxxxx>
> ---

Looks good to me,
Acked-by: Christian Brauner (Microsoft) <brauner@xxxxxxxxxx>