Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1eba27e8 authored by Joe Perches's avatar Joe Perches Committed by Roland Dreier
Browse files

IB/ipath: Use printf extension %pR for struct resource



Using %pR standardizes the struct resource output.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 3c0eee3f
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -530,9 +530,8 @@ static int __devinit ipath_init_one(struct pci_dev *pdev,
	for (j = 0; j < 6; j++) {
		if (!pdev->resource[j].start)
			continue;
		ipath_cdbg(VERBOSE, "BAR %d start %llx, end %llx, len %llx\n",
			   j, (unsigned long long)pdev->resource[j].start,
			   (unsigned long long)pdev->resource[j].end,
		ipath_cdbg(VERBOSE, "BAR %d %pR, len %llx\n",
			   j, &pdev->resource[j],
			   (unsigned long long)pci_resource_len(pdev, j));
	}