Skip to content

Commit

Permalink
[GitHub Actions] Disable sparse constexpr-not-const as it floods with…
Browse files Browse the repository at this point in the history
… bogus issues

All EXPORT_SYMBOL* results with:
error: non-constant initializer for static object
and sparse failure.

It is not only happening with sound/soc/sof/ but the whole kernel, disable
this warning so we can have usable sparse again.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
  • Loading branch information
ujfalusi authored and bardliao committed Sep 17, 2024
1 parent 4eebaf9 commit ff641a1
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"
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"
make allmodconfig
make modules_prepare
make -k sound/soc/sof/ C=2
Expand Down

0 comments on commit ff641a1

Please sign in to comment.