summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2024-12-18 09:02:31 +0200
committerTom Rini <trini@konsulko.com>2024-12-30 13:21:55 -0600
commit3d56c06551d7a54870cfdf8c639b3ff35521b87f (patch)
tree360783a7905dd7a4b1b8d56fa5564055cd3492e8 /test
parent6c9f27505a5e20ed538d1dafdf43cf9d18ab8624 (diff)
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>
Diffstat (limited to 'test')
-rw-r--r--test/cmd/bdinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cmd/bdinfo.c b/test/cmd/bdinfo.c
index bb419ab2394..014391b38ac 100644
--- a/test/cmd/bdinfo.c
+++ b/test/cmd/bdinfo.c
@@ -104,7 +104,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);