Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LMB]: Fix lmb allocation regression.
Changeset d9024df ("[LMB] Restructure allocation loops to avoid unsigned underflow") removed the alignment of the 'size' argument to call lmb_add_region() done by __lmb_alloc_base(). In doing so it reintroduced the bug fixed by changeset eea89e1 ("[LMB]: Fix bug in __lmb_alloc_base()."). This puts it back. Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information