lkml.org 
[lkml]   [2021]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] net/mlx5e: remove h from printk format specifier
From
Date
On Wed, 2020-12-23 at 11:45 -0800, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>
>
> This change fixes the checkpatch warning described in this commit
> commit cbacb5ab0aa0 ("docs: printk-formats: Stop encouraging use of
> unnecessary %h[xudi] and %hh[xudi]")
>
> Standard integer promotion is already done and %hx and %hhx is
> useless
> so do not encourage the use of %hh[xudi] or %h[xudi].
>
> Signed-off-by: Tom Rix <trix@redhat.com>
> ---
> drivers/net/ethernet/mellanox/mlx5/core/en/params.c | 2 +-
> drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>

applied to net-next-mlx5,
Thanks

\
 
 \ /
  Last update: 2021-01-05 22:07    [W:0.040 / U:1.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site