From nobody Fri Sep 02 21:53:10 2022 X-Original-To: dev-commits-src-main@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 4MKBVZ6vsKz4bQD5; Fri, 2 Sep 2022 21:53:10 +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 4MKBVZ6JT9z43Mn; Fri, 2 Sep 2022 21:53:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662155590; 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=xBWp43vaNu4MXfR4Yyyc2X4y7TCgK6/Kc2RoEJMq3N4=; b=cgMmfzVPZ38eEu5U23z3BvM9fuo12m4NnG5vevElcmRxRrIYNUqq8Cw2F1ZjD4elXkiOyg h7lQ5GmZ5EUT7m9DVJ6va6g04PLYua4HnqZDiJwDGyRMc8f2rGSCGkWaAdFvMofIXavaey Y3qeCDY9ISggHTUeHm/VCMgS8p6u1LKt3B0u/NZFwJiVLJjD2OJPBcov2WiQltOMsdr4Bl AjdrIMvgTeFkavbCyWPtOwlGwg9d0YQiggLcRPcQlQHS+RKtuPNr3fhKJuJy8jK6cgC+RR D0KYLpg0qiRxRSsMibe6xcLq13xvJUJAC27YNULc4gZGJJ49iJ12nEe9xh2lQg== 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 4MKBVZ5GnFzxHx; Fri, 2 Sep 2022 21:53:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 282LrAIh041091; Fri, 2 Sep 2022 21:53:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 282LrAvf041090; Fri, 2 Sep 2022 21:53:10 GMT (envelope-from git) Date: Fri, 2 Sep 2022 21:53:10 GMT Message-Id: <202209022153.282LrAvf041090@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: e120d3b2d48c - main - qat: Move CWARNFLAGS down so it works. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e120d3b2d48cc59b013b4e2fae292b738a294e21 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662155590; 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=xBWp43vaNu4MXfR4Yyyc2X4y7TCgK6/Kc2RoEJMq3N4=; b=vVR3kpywCx9/uzWgPewsmLW4S565tshmxLgMDiTuNR21Q0lYZ4ouFrBEyJoqHDEukU91ly PCuV+W6IkSfIQO6Egao6mF9OhZdcDm2F9Q/kTA/ARmDVdTNIKpLhWT1Wl0z5phYFNp/EvB 1Ac3eXlr6iFRE8TnO54Xl8XjZXKkpN1vX8blV5BwZnqmiNnJKOCtYWsem0RZ5hSILHjS0M 0f5NWiDluP/lwQZrtve0xLUDZI3DpZttvTtarNGw5jO7TK0G7sneF6DDIpaRjTHBtSLvsv 2IUVH0ICSiyw53CKB8YyOSKFJG5aO6iN4nvm8zJWENt9JU7iTU03MVB0f4/vcQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662155590; a=rsa-sha256; cv=none; b=XPIbOtukAqo2l3yvMojhoUOgcZpzEDeb5jJCm9CtA1dWHA9qZTkq94cuGZnrtTGGA45fyF VortTW4pj00/bn+VpCEqs7zRJRJXwweawbZQkAugaknPyg3piw1bdoFN4HRi9tU/K6JVBa SPgcXVwgwfyR4Cc6+LToTWv3hqF5iP6n+6xUnxMGISu1taqdInuawODymGvLo1qeh19wjG 3yLsRndsuDWt6GVKfjFEpG/PkdYGKh19M0cvFJVieOugTEqMzMYqoEyDiWYmdt1FnWxc4/ cHUkvGT+xQRp8HLskGUptcT/Nq1u2Up7Q3AfRq6saohSVJuPIGflxRiqepzqTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=e120d3b2d48cc59b013b4e2fae292b738a294e21 commit e120d3b2d48cc59b013b4e2fae292b738a294e21 Author: John Baldwin AuthorDate: 2022-09-02 21:52:19 +0000 Commit: John Baldwin CommitDate: 2022-09-02 21:52:55 +0000 qat: Move CWARNFLAGS down so it works. CWARNFLAGS must be added to after including kern.mk, otherwise all the warnings set in kern.mk are ignored. This is why the -Wmissing-prototypes warnings were not seen previously. While here, drop -Wno-pointer-sign as it is doesn't seem to be needed, but add -Wno-cast-qual to silence warnings for various casts of const pointers to non-const pointers. Reviewed by: MichalX.Gulbicki_intel.com, markj Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D36332 --- sys/modules/qat/qat_api/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/modules/qat/qat_api/Makefile b/sys/modules/qat/qat_api/Makefile index 5dd4bc25285b..20f3acd4ecdd 100644 --- a/sys/modules/qat/qat_api/Makefile +++ b/sys/modules/qat/qat_api/Makefile @@ -71,5 +71,6 @@ CFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/firmware/include CFLAGS+= -I${SRCTOP}/sys/dev/qat/include/common CFLAGS+= -I${SYSDIR}/compat/linuxkpi/common/include -CWARNFLAGS += -Wno-pointer-sign .include + +CWARNFLAGS+= -Wno-cast-qual