Re: [PATCH 2/5] sched/psi: Prepend "0x" to format specifiers when printing PSI flags

From: John Stultz
Date: Mon Nov 17 2025 - 20:08:44 EST


On Mon, Nov 17, 2025 at 10:56 AM K Prateek Nayak <kprateek.nayak@xxxxxxx> wrote:
>
> It is not immediately clear that the PSI flags, the set, and the clear
> bits printed in PSI warnings are hexadecimal values. Prepend "0x" to
> format specifiers to make it clear.
>
> Since "kernel/sched" uses "0x%x" as opposed to "%#x" when printing
> hexadecimal values, the same was followed to keep consistency.
>
> Signed-off-by: K Prateek Nayak <kprateek.nayak@xxxxxxx>

Reviewed-by: John Stultz <jstultz@xxxxxxxxxx>