RDMA/hfi1: remove h from printk format specifier
authorTom Rix <trix@redhat.com>
Tue, 15 Dec 2020 18:35:09 +0000 (10:35 -0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 7 Jan 2021 20:03:08 +0000 (16:03 -0400)
See Documentation/core-api/printk-formats.rst.  h should no longer be used
in the format specifier for printk.

Link: https://lore.kernel.org/r/20201215183509.2072517-1-trix@redhat.com
Signed-off-by: Tom Rix <trix@redhat.com>
Acked-by: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hfi1/sdma.c

index a307d4c..27ec285 100644 (file)
@@ -1740,7 +1740,7 @@ retry:
                        sane = (hwhead == swhead);
 
                if (unlikely(!sane)) {
-                       dd_dev_err(dd, "SDMA(%u) bad head (%s) hwhd=%hu swhd=%hu swtl=%hu cnt=%hu\n",
+                       dd_dev_err(dd, "SDMA(%u) bad head (%s) hwhd=%u swhd=%u swtl=%u cnt=%u\n",
                                   sde->this_idx,
                                   use_dmahead ? "dma" : "kreg",
                                   hwhead, swhead, swtail, cnt);