aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Campbell <ralph.campbell@qlogic.com>2008-04-17 00:09:24 -0400
committerRoland Dreier <rolandd@cisco.com>2008-04-17 00:09:24 -0400
commit6be979d71a5e8720c8560cc58713407947e5f691 (patch)
treed3b6958d0628900accee2e27b87bf8a825c539fb
parentc1702be20fd44f4c878a182be1559c2242916820 (diff)
IB/ipath: Make debug error message match the constraint that is checked for
Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r--drivers/infiniband/hw/ipath/ipath_iba6120.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_iba6120.c b/drivers/infiniband/hw/ipath/ipath_iba6120.c
index 5206b12a7dc..ce0f40fbb4f 100644
--- a/drivers/infiniband/hw/ipath/ipath_iba6120.c
+++ b/drivers/infiniband/hw/ipath/ipath_iba6120.c
@@ -1275,7 +1275,7 @@ static void ipath_pe_put_tid(struct ipath_devdata *dd, u64 __iomem *tidptr,
1275 if (pa != dd->ipath_tidinvalid) { 1275 if (pa != dd->ipath_tidinvalid) {
1276 if (pa & ((1U << 11) - 1)) { 1276 if (pa & ((1U << 11) - 1)) {
1277 dev_info(&dd->pcidev->dev, "BUG: physaddr %lx " 1277 dev_info(&dd->pcidev->dev, "BUG: physaddr %lx "
1278 "not 4KB aligned!\n", pa); 1278 "not 2KB aligned!\n", pa);
1279 return; 1279 return;
1280 } 1280 }
1281 pa >>= 11; 1281 pa >>= 11;