Ver código fonte

IB/usnic: Remove '0x' when using %pa format

%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>
Fabio Estevam 12 anos atrás
pai
commit
970918b32b
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      drivers/infiniband/hw/usnic/usnic_uiom.c

+ 1 - 1
drivers/infiniband/hw/usnic/usnic_uiom.c

@@ -286,7 +286,7 @@ static int usnic_uiom_map_sorted_intervals(struct list_head *intervals,
 				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;
 				}