[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201227083326.GE4457@unreal>
Date: Sun, 27 Dec 2020 10:33:26 +0200
From: Leon Romanovsky <leon@...nel.org>
To: trix@...hat.com
Cc: oulijun@...wei.com, huwei87@...ilicon.com, liweihang@...wei.com,
dledford@...hat.com, jgg@...pe.ca, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] RDMA/hns: remove h from printk format specifier
On Wed, Dec 23, 2020 at 11:30:41AM -0800, trix@...hat.com wrote:
> From: Tom Rix <trix@...hat.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@...hat.com>
> ---
> drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@...dia.com>
Powered by blists - more mailing lists