hfi1/user_exp_rcv/setup: increment phys appropriately
Old code was always registering the same section with different size, instead of properly covering the requested map
This commit is contained in:
committed by
Balazs Gerofi
parent
4816f27639
commit
9a36e5d213
@ -195,6 +195,7 @@ int hfi1_user_exp_rcv_setup(struct hfi1_filedata *fd, struct hfi1_tid_info *tinf
|
|||||||
unlock:
|
unlock:
|
||||||
spin_unlock(&fd->tid_lock);
|
spin_unlock(&fd->tid_lock);
|
||||||
|
|
||||||
|
phys += 1 << (order+12);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user