lmb: Move enum lmb_flags to a u32
LMB flags is not an enum anymore. It's currently used as a bitmask
in various places of our code. So make it a u32 which is more
appropriate when dealing with masks.
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Tested-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
(cherry picked from commit 3d56c06551)
This commit is contained in:
committed by
Simon Glass
parent
bfd75a7f81
commit
65a9881993
@@ -103,7 +103,7 @@ static int lmb_test_dump_region(struct unit_test_state *uts,
|
||||
{
|
||||
struct lmb_region *rgn = lmb_rgn_lst->data;
|
||||
unsigned long long base, size, end;
|
||||
enum lmb_flags flags;
|
||||
u32 flags;
|
||||
int i;
|
||||
|
||||
ut_assert_nextline(" %s.count = %#x", name, lmb_rgn_lst->count);
|
||||
|
||||
Reference in New Issue
Block a user