Skip to content

Commit

Permalink
IB/usnic: Remove '0x' when using %pa format
Browse files Browse the repository at this point in the history
%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>
  • Loading branch information
Fabio Estevam authored and Roland Dreier committed Mar 17, 2014
1 parent cfbf8d4 commit 970918b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/infiniband/hw/usnic/usnic_uiom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 970918b

Please sign in to comment.