IB/usnic: Remove '0x' when using %pa format
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 18 Feb 2014 12:54:27 +0000 (09:54 -0300)
committerRoland Dreier <roland@purestorage.com>
Mon, 17 Mar 2014 23:26:38 +0000 (16:26 -0700)
%pa format already prints in hexadecimal format, so remove the '0x' annotation
to avoid a double '0x0x' pattern.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/usnic/usnic_uiom.c

index 16755cd..801a1d6 100644 (file)
@@ -286,7 +286,7 @@ iter_chunk:
                                err = iommu_map(pd->domain, va_start, pa_start,
                                                        size, flags);
                                if (err) {
-                                       usnic_err("Failed to map va 0x%lx pa 0x%pa size 0x%zx with err %d\n",
+                                       usnic_err("Failed to map va 0x%lx pa %pa size 0x%zx with err %d\n",
                                                va_start, &pa_start, size, err);
                                        goto err_out;
                                }