Skip to content

Commit 85f79eb

Browse files
committed
Debug Print 64bit Aligned Crosslink BAR Numbers
Crosslink BARs use 64bit addesses. Fixed the debug logging to reflect the 64bit even BAR numbers.
1 parent d705e19 commit 85f79eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ntb_hw_switchtec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ static int crosslink_enum_partition(struct switchtec_ntb *sndev,
11201120

11211121
dev_dbg(&sndev->stdev->dev,
11221122
"Crosslink BAR%d addr: %llx\n",
1123-
i, bar_addr);
1123+
i*2, bar_addr);
11241124

11251125
if (bar_addr != bar_space * i)
11261126
continue;

0 commit comments

Comments
 (0)