Skip to content
Commit 8f97e08d authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Tom Rini
Browse files

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: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
parent cc8e336f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment