Re: [PATCH] RDMA/hns: remove h from printk format specifier

2021-01-07 Thread Jason Gunthorpe
On Wed, Dec 23, 2020 at 11:30:41AM -0800, t...@redhat.com wrote: > From: Tom Rix > > 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

Re: [PATCH] RDMA/hns: remove h from printk format specifier

2020-12-27 Thread Leon Romanovsky
On Wed, Dec 23, 2020 at 11:30:41AM -0800, t...@redhat.com wrote: > From: Tom Rix > > 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

[PATCH] RDMA/hns: remove h from printk format specifier

2020-12-23 Thread trix
From: Tom Rix 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