ソースを参照

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 11 年 前
コミット
970918b32b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      drivers/infiniband/hw/usnic/usnic_uiom.c

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

@@ -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;
 				}