diff options
| author | Heinrich Schuchardt <[email protected]> | 2025-07-08 14:12:51 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-07-09 10:39:37 -0600 |
| commit | 344e1798059ba65769272be3145736685bb25a7e (patch) | |
| tree | ab9be12430fa900289513877e68fdd0592bd990e /lib | |
| parent | a517081af9d90a2c6c14b5c5d2633de2bed6324f (diff) | |
lmb: add missing fallthrough in lmb_alloc_mem()
Add fallthrough to clarify the intent.
Addresses-Coverity-ID: CID 569481: Control flow issues (MISSING_BREAK)
Signed-off-by: Heinrich Schuchardt <[email protected]>
Acked-by: Sughosh Ganu <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lmb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lmb.c b/lib/lmb.c index 45b26512a5b..e5a0677e3f9 100644 --- a/lib/lmb.c +++ b/lib/lmb.c @@ -762,6 +762,7 @@ int lmb_alloc_mem(enum lmb_mem_type type, u64 align, phys_addr_t *addr, switch (type) { case LMB_MEM_ALLOC_ANY: *addr = LMB_ALLOC_ANYWHERE; + fallthrough; case LMB_MEM_ALLOC_MAX: ret = _lmb_alloc_base(size, align, addr, flags); break; |
