From a1151f8377581375e56c18399d18b191131e3b66 Mon Sep 17 00:00:00 2001 From: Jason Gerecke Date: Fri, 7 Jun 2024 11:02:21 -0700 Subject: [PATCH] Revert "github: Temporarily set -Wno-error=unused-result to bypass upstream warning" This reverts commit e83a9bb3e48d2d1b52ec709e60f73b9960d568e5. We have fixed the w8001 driver to no longer trigger these warnings. --- .github/workflows/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ca87b81c..c1f67f57 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 -Wno-error=unused-result + compile_cflags: -fno-pie -Wno-error=format-truncation -Wno-error=pointer-sign prepare_cflags: -fno-pie -no-pie - kernel: "4.6" - compile_cflags: -fno-pie -Wno-error=format-truncation -Wno-error=pointer-sign -Wno-error=unused-result + compile_cflags: -fno-pie -Wno-error=format-truncation -Wno-error=pointer-sign prepare_cflags: -fno-pie -no-pie - kernel: "4.10" - compile_cflags: -fno-pie -Wno-error=format-truncation -Wno-error=pointer-sign -Wno-error=unused-result + compile_cflags: -fno-pie -Wno-error=format-truncation -Wno-error=pointer-sign prepare_cflags: -fno-pie -no-pie - kernel: "4.14" - compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign -Wno-error=unused-result + compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign - kernel: "4.19" - compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign -Wno-error=unused-result + compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign - kernel: "5.10" - compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign -Wno-error=unused-result + compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign - kernel: "6.3" - compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign -Wno-error=unused-result + compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign build_makeflags: KBUILD_MODPOST_WARN=1 steps: - name: Install dependencies