commit | 13ac85ad50d20f679de95154634989fee8b37c5b | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Wed Jun 24 09:27:25 2020 +0200 |
committer | Tom Rini <trini@konsulko.com> | Sun Jul 26 14:35:30 2020 -0400 |
tree | ae22bc552c6f50dc54eb1893574f8d67f37adf30 | |
parent | 9336539a8c773550708a02c449476f77d05ac8cd [diff] |
env: correct overflow check of env_has_init size Correct the overflow check of the bit-field env_has_init with the max value of env_location= ENVL_COUNT and no more with the size of env_locations. This bit-field is indexed by this enumerate and not by the position in the env_locations (only used in env_get_location) and the 2 values are different, depending of thea ctivated CONFIG_ENV_IS_ options. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>