summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2024-12-10 09:04:43 +0530
committerAnup Patel <[email protected]>2024-12-15 11:28:13 +0530
commit74c6ea014db8fc7d56254ba9dd371b7454bd7220 (patch)
treed201f1f2a8843dbfdece4cc6b1ef2a52a1e12aa4 /scripts
parentc2acc5e5b0d85166153032eaea181021c73e9752 (diff)
lib: utils/fdt_cppc_rpmi: Fix compile error with LLVM
The following error is observed when compiling fdt_cppc_rpmi driver using LLVM: lib/utils/cppc/fdt_cppc_rpmi.c:87:3: error: label followed by a declaration is a C23 extension [-Werror,-Wc23-extensions] 87 | u64 db_val_u64 = 0; To fix the above issue, move the variable declaration at the start of function. Fixes: 591a98bdd549 ("lib: utils/cppc: Add RPMI CPPC driver") Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Samuel Holland <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions