Skip to content

Commit

Permalink
[GitHub Actions] Disable sparse declaration-after-statement
Browse files Browse the repository at this point in the history
"error: mixing declarations and code" floods in
./include/linux/page-flags.h which is included in some sound drivers.

Signed-off-by: Bard Liao <[email protected]>
  • Loading branch information
bardliao committed Jan 16, 2025
1 parent 2560f81 commit 51c11a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/buildtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: build start
run: |
export ARCH=x86_64 CF="-Wsparse-error -Wsparse-all -Wno-bitwise-pointer -Wno-pointer-arith -Wno-typesign -Wnoshadow -Wnoflexible-array-array -Wnoflexible-array-nested -Wnoflexible-array-sizeof -Wnoflexible-array-union -Wnotautological-compare -Wno-transparent-union -Wno-constexpr-not-const"
export ARCH=x86_64 CF="-Wsparse-error -Wsparse-all -Wno-bitwise-pointer -Wno-pointer-arith -Wno-typesign -Wnoshadow -Wnoflexible-array-array -Wnoflexible-array-nested -Wnoflexible-array-sizeof -Wnoflexible-array-union -Wnotautological-compare -Wno-transparent-union -Wno-constexpr-not-const -Wno-declaration-after-statement"
make allmodconfig
make modules_prepare
make -k sound/soc/sof/ C=2
Expand Down

0 comments on commit 51c11a0

Please sign in to comment.