mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-14 16:39:21 +00:00
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>
This commit is contained in:
parent
c1702be20f
commit
6be979d71a
@ -1275,7 +1275,7 @@ static void ipath_pe_put_tid(struct ipath_devdata *dd, u64 __iomem *tidptr,
|
|||||||
if (pa != dd->ipath_tidinvalid) {
|
if (pa != dd->ipath_tidinvalid) {
|
||||||
if (pa & ((1U << 11) - 1)) {
|
if (pa & ((1U << 11) - 1)) {
|
||||||
dev_info(&dd->pcidev->dev, "BUG: physaddr %lx "
|
dev_info(&dd->pcidev->dev, "BUG: physaddr %lx "
|
||||||
"not 4KB aligned!\n", pa);
|
"not 2KB aligned!\n", pa);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
pa >>= 11;
|
pa >>= 11;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user