mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
IB/ipath: Fix incorrect check for max physical address in TID
The check for max physical address was incorrect, thus limiting the range of allowed physical addresses. Signed-off-by: Dave Olson <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
This commit is contained in:
parent
7ec01ff950
commit
24babadec0
1 changed files with 1 additions and 1 deletions
|
|
@ -1720,7 +1720,7 @@ static void ipath_7220_put_tid(struct ipath_devdata *dd, u64 __iomem *tidptr,
|
|||
"not 2KB aligned!\n", pa);
|
||||
return;
|
||||
}
|
||||
if (pa >= (1UL << IBA7220_TID_SZ_SHIFT)) {
|
||||
if (chippa >= (1UL << IBA7220_TID_SZ_SHIFT)) {
|
||||
ipath_dev_err(dd,
|
||||
"BUG: Physical page address 0x%lx "
|
||||
"larger than supported\n", pa);
|
||||
|
|
|
|||
Loading…
Reference in a new issue