Re: [PATCH] locking/lockdep: fix format-truncation compiler-warning

From: Lucy Mielke
Date: Thu Oct 12 2023 - 06:16:34 EST


Am Thu, Oct 12, 2023 at 12:11:13AM +0200 schrieb Ingo Molnar:
>
> Mind including the output by GCC in the changelog?
>

Sure, let me resend the patch then :)

> ... actually needs 21+1 bytes?
>
> Which I suppose is true - longest s64 is "-9223372036854775808"-ish, which
> converted to the fixed-point float format above is "-9223372036854775.80":
> 21 bytes, plus termination is another byte: 22.
>
> Maybe put this into the changelog too, instead of relying on magic GCC
> calculations only. :-)

I can include it as well, of course!

Mit freundlichen Grüßen / Best regards,
Lucy