diff options
author | David S. Miller <davem@davemloft.net> | 2008-02-13 16:57:09 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-13 16:57:09 -0800 |
commit | eea89e13a9c61d3928223d2f9bf2295e22e0efb6 (patch) | |
tree | f6b2cc514071d276a287eb666333667b6ee67c4f /lib/cmdline.c | |
parent | d9b2b2a277219d4812311d995054ce4f95067725 (diff) | |
download | op-kernel-dev-eea89e13a9c61d3928223d2f9bf2295e22e0efb6.zip op-kernel-dev-eea89e13a9c61d3928223d2f9bf2295e22e0efb6.tar.gz |
[LMB]: Fix bug in __lmb_alloc_base().
We need to check lmb_add_region() for errors, it can run out
of regions etc.
Also, the size needs to be padded to the given alignment
or else the lmb.reserved regions don't get expanded and
instead we get tons of holes and eventually run out of
regions prematurely.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/cmdline.c')
0 files changed, 0 insertions, 0 deletions