mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-10-07 00:01:05 +02:00
Changesetd9024df02f("[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 changeseteea89e13a9("[LMB]: Fix bug in __lmb_alloc_base()."). This puts it back. Signed-off-by: David S. Miller <davem@davemloft.net>