Skip to content

Commit

Permalink
github: Temporarily set -Wno-error=unused-result to bypass upstream w…
Browse files Browse the repository at this point in the history
…arning

Commit a9f08ad7adb3 upstream introduces an unused-result warning. While we
wait for a fix to be made upstream, this commit has our Github runner not
treat the warning as an error. This will need to be reverted after a fix
is accepted upstream.

Signed-off-by: Jason Gerecke <[email protected]>
  • Loading branch information
jigpu committed May 2, 2024
1 parent 9dbad44 commit e83a9bb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,22 @@ jobs:
compile_cflags: -fno-pie -Wno-error=format-truncation
prepare_cflags: -fno-pie -no-pie
- kernel: "4.5"
compile_cflags: -fno-pie -Wno-error=format-truncation -Wno-error=pointer-sign
compile_cflags: -fno-pie -Wno-error=format-truncation -Wno-error=pointer-sign -Wno-error=unused-result
prepare_cflags: -fno-pie -no-pie
- kernel: "4.6"
compile_cflags: -fno-pie -Wno-error=format-truncation -Wno-error=pointer-sign
compile_cflags: -fno-pie -Wno-error=format-truncation -Wno-error=pointer-sign -Wno-error=unused-result
prepare_cflags: -fno-pie -no-pie
- kernel: "4.10"
compile_cflags: -fno-pie -Wno-error=format-truncation -Wno-error=pointer-sign
compile_cflags: -fno-pie -Wno-error=format-truncation -Wno-error=pointer-sign -Wno-error=unused-result
prepare_cflags: -fno-pie -no-pie
- kernel: "4.14"
compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign
compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign -Wno-error=unused-result
- kernel: "4.19"
compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign
compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign -Wno-error=unused-result
- kernel: "5.10"
compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign
compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign -Wno-error=unused-result
- kernel: "6.3"
compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign
compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign -Wno-error=unused-result
build_makeflags: KBUILD_MODPOST_WARN=1
steps:
- name: Install dependencies
Expand Down

0 comments on commit e83a9bb

Please sign in to comment.