From nobody Sat Apr 20 10:35:01 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VM7F150RBz5HWdb; Sat, 20 Apr 2024 10:35:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VM7F12lm8z4TWm; Sat, 20 Apr 2024 10:35:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713609301; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=96eq9JCnuVY7/qs9bcAdhCUgmSTmJbHZ63m6s+FCCwo=; b=Y45b7ENYbJr78Eg97bANbsEbr5rrUyoV/nNv7eha2usIiKpBrqYJ9zEQqE+VSGqkh9ZIjL VrtIExXG+yVzPn5MjSAqX6/BfMKYLB9XQA/NdCukjHUZepdFHFQBuOBl9KhNpUxUm4gYYz AX7vntOyzpioEE8KITziOsFaQXwVWTRE/qMNp8HKsy5J7IvSCtuoVyFBzeRcrudWLzUHRg 4HVvDlTQAGoG0asXF2TpWPbnGbmfI6SLNWH9E2Ef7zu5IwqxPZD/7lA6AYGulskAobpDW5 yPEUjnPj1Hb+kymu2/cClgFk9V0x7iaHUmkKW7pByLHXuuEGmDDdtBIVzdE/6w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713609301; a=rsa-sha256; cv=none; b=ZISWLcmYuZ/dT7seo6YlGYIu/F7ALy/GNM5+IF+Qf7ln0Ymuospy/QRNzARGnBPom/F1AB i2HyBxnDDqKRg2c1bLC+EBPhisU7VFS0+buvRqpUSgKD+PdudTmCja/kyTPkQVNt67ho1L /civ+HoZ4aZV31AHvT0APYv/lkgo4nfNGlL6oZKE9V1AmOHhmVtTgG03IODZWjMdk+5wsv HLL4Qmpext+jpPGucMWZjWRw9sMlCqvgCzELHHrenBZN4+P7pCEzwk09PNlPGnI0GFqqYq XWN3JlVzeG6UapfidivWzXVZ3lCDNyqhPDIbSk+p69YOSoC5wHNUX+cZC+79aQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713609301; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=96eq9JCnuVY7/qs9bcAdhCUgmSTmJbHZ63m6s+FCCwo=; b=n33GNwIOoVFbkR93RTg7TQDBmx43Ja9muM9UF7OAgPf0Q1saMgccLgIkLYJvQzSCcQ3I+i /FRdGAz+USXyHDbtPFDzAbzHQxQJebNRD//RxxS8fC69X7DGfZT4K72z0W0a71o9HPo/A1 EnpRKabLirL0DMvAm1fm5EfM3VqAmZOMlPL2dveaysU9seLB+lvRo+X9QW8OVo9N+1dzip W/JfqKVKfTgCueniVT4jX7bk+NKsKobAyJllPVUWaOsfFar1WC/AJWhk3fdn+BBPTzfj6Y gaE3FDRESWd08GrGh2D1s7Jc+vaQB3HpwaMRduvpBLlqW3PfWeGb9yGnYiZ56Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VM7F12MwlzZ5w; Sat, 20 Apr 2024 10:35:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43KAZ1D7014938; Sat, 20 Apr 2024 10:35:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43KAZ1d0014935; Sat, 20 Apr 2024 10:35:01 GMT (envelope-from git) Date: Sat, 20 Apr 2024 10:35:01 GMT Message-Id: <202404201035.43KAZ1d0014935@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 667a595fee5e - stable/13 - tau32-ddk.c: suppress warning about ignored attributes List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 667a595fee5ef5663752d585c980d72aeeb7792b Auto-Submitted: auto-generated The branch stable/13 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=667a595fee5ef5663752d585c980d72aeeb7792b commit 667a595fee5ef5663752d585c980d72aeeb7792b Author: Dimitry Andric AuthorDate: 2024-04-20 10:28:47 +0000 Commit: Dimitry Andric CommitDate: 2024-04-20 10:29:10 +0000 tau32-ddk.c: suppress warning about ignored attributes This driver is heavily obfuscated, and causes a -Werror warning with clang 18 now: sys/dev/ce/tau32-ddk.c:358:10: error: 'const' attribute on function returning 'void'; attribute ignored [-Werror,-Wignored-attributes] 358 | ((const))nvqbt(void){__asm __volatile("repe; nop; repe; nop;" | ^ Supress the warning since the driver can never be fixed. Direct commit to stable/13, since the driver has been removed in 14.x and later. PR: 276104 --- sys/conf/files.i386 | 2 +- sys/modules/ce/Makefile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/conf/files.i386 b/sys/conf/files.i386 index e2031ef2b200..04cbd47333ef 100644 --- a/sys/conf/files.i386 +++ b/sys/conf/files.i386 @@ -44,7 +44,7 @@ dev/agp/agp_via.c optional agp dev/ce/ceddk.c optional ce dev/ce/if_ce.c optional ce dev/ce/tau32-ddk.c optional ce \ - compile-with "${NORMAL_C} ${NO_WCONSTANT_CONVERSION} ${NO_WMISLEADING_INDENTATION}" + compile-with "${NORMAL_C} ${NO_WCONSTANT_CONVERSION} ${NO_WMISLEADING_INDENTATION} -Wno-ignored-attributes" dev/cp/cpddk.c optional cp \ compile-with "${NORMAL_C} ${NO_WMISLEADING_INDENTATION}" dev/cp/if_cp.c optional cp diff --git a/sys/modules/ce/Makefile b/sys/modules/ce/Makefile index cec4c21b2101..3e5c28ce2fb7 100644 --- a/sys/modules/ce/Makefile +++ b/sys/modules/ce/Makefile @@ -28,3 +28,4 @@ opt_ng_cronyx.h: CWARNFLAGS.tau32-ddk.c+= ${NO_WCONSTANT_CONVERSION} CWARNFLAGS.tau32-ddk.c+= ${NO_WMISLEADING_INDENTATION} +CWARNFLAGS.tau32-ddk.c+= -Wno-ignored-attributes