commit | df1708a2d69dc3e58f10ed06a6475bb63bf21dcf | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mjw@redhat.com> | Sun May 17 18:49:10 2015 +0200 |
committer | Mark Wielaard <mjw@redhat.com> | Wed May 27 23:04:31 2015 +0200 |
tree | ffa91fff7b2931102b09a72c571cb4ae60c52f82 | |
parent | e6261005eaa1cf19107fb8963f8cb55e2c1367a7 [diff] |
libebl: Use static number for array stack allocation in openbackend. Help the compiler see we stack allocate a small array. Add assert to check no machine prefix is ever larger than 16. Current maximum number is 7. This prevents gcc warning about possible unbounded stack usage with -Wstack-usage. Signed-off-by: Mark Wielaard <mjw@redhat.com>