diff options
| author | Ilias Apalodimas <[email protected]> | 2024-12-18 09:02:31 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-12-30 13:21:55 -0600 |
| commit | 3d56c06551d7a54870cfdf8c639b3ff35521b87f (patch) | |
| tree | 360783a7905dd7a4b1b8d56fa5564055cd3492e8 /test/cmd | |
| parent | 6c9f27505a5e20ed538d1dafdf43cf9d18ab8624 (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 <[email protected]>
Tested-by: Sam Protsenko <[email protected]>
Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'test/cmd')
| -rw-r--r-- | test/cmd/bdinfo.c | 2 |
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); |
