commit | 8b829308b4a48f7b2253afde087cc8458cc4506c | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@foss.st.com> | Wed Mar 10 10:16:29 2021 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Apr 22 14:09:45 2021 -0400 |
tree | 0bd3afda5a87643d564970a8d8f98c41d1a3960a | |
parent | cd831afd6448987581eee72bd0f4d387c95d7938 [diff] |
lmb: correct size of the regions array As in lmb_region, cnt < max and in the lmb library use region[i] only with i in 0...cnt, this region array size can be reduced by 1 element without overflow. This patch allows to reduce the struct lmb size. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>