[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZxImxuVhz6LjOVSs@hog>
Date: Fri, 18 Oct 2024 11:13:42 +0200
From: Sabrina Dubroca <sd@...asysnail.net>
To: Ales Nezbeda <anezbeda@...hat.com>
Cc: netdev@...r.kernel.org, kuba@...nel.org
Subject: Re: [PATCH net-next v2] netdevsim: macsec: pad u64 to correct length
in logs
2024-10-17, 15:19:33 +0200, Ales Nezbeda wrote:
> Commit 02b34d03a24b ("netdevsim: add dummy macsec offload") pads u64
> number to 8 characters using "%08llx" format specifier.
>
> Changing format specifier to "%016llx" ensures that no matter the value
> the representation of number in log is always the same length.
>
> Before this patch, entry in log for value '1' would say:
> removing SecY with SCI 00000001 at index 2
> After this patch is applied, entry in log will say:
> removing SecY with SCI 0000000000000001 at index 2
>
> Signed-off-by: Ales Nezbeda <anezbeda@...hat.com>
> ---
> v2
> - Remove fixes tag and post against net-next
> - v1 ref: https://lore.kernel.org/netdev/20241015110943.94217-1-anezbeda@redhat.com/
> ---
> drivers/net/netdevsim/macsec.c | 56 +++++++++++++++++-----------------
> 1 file changed, 28 insertions(+), 28 deletions(-)
Reviewed-by: Sabrina Dubroca <sd@...asysnail.net>
Thanks Ales.
--
Sabrina
Powered by blists - more mailing lists