[PATCH] net/i40e/base: fix invalid log format characters

David Marchand david.marchand at redhat.com
Mon Oct 28 13:30:27 CET 2024


On Fri, Oct 25, 2024 at 2:28 PM Bruce Richardson
<bruce.richardson at intel.com> wrote:
>
> With commit cb593a832630 ("net/i40e/base: reduce size of time
> variables"), the time_left value is 32-bits rather than 64-bits.
> However the printf-style format strings were never updated in the logs,
> so were left at PRIu64. Change them to PRIu32, fixing the build when
> additional format warnings were enabled.
>
> Fixes: cb593a832630 ("net/i40e/base: reduce size of time variables")
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list