Skip to content

Commit 51c11a0

Browse files
committed
[GitHub Actions] Disable sparse declaration-after-statement
"error: mixing declarations and code" floods in ./include/linux/page-flags.h which is included in some sound drivers. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
1 parent 2560f81 commit 51c11a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/buildtest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
3131
- name: build start
3232
run: |
33-
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"
33+
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"
3434
make allmodconfig
3535
make modules_prepare
3636
make -k sound/soc/sof/ C=2

0 commit comments

Comments
 (0)