From nobody Wed Apr 06 23:46:22 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 9E6741A840D2; Wed, 6 Apr 2022 23:46:24 +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 4KYh3z0Tywz4RBs; Wed, 6 Apr 2022 23:46:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649288783; 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=hvedJjr1oLbZpYHFHZyUoh18bV9t6xhXpqA2w4PUcbc=; b=mpQgdzBAuU4vQYNpQ2JWs/3n1Ej4JV8avTibuFVEPIg1HjtOfKpvF8FyRc573sne+s7qLd RRs/Kc84kR8uNcHbR3HmeR3S8qQV/JTs4/M6x4lCRnd2okLnL7u5IhC3rauQqfU4gwSWV+ nIJIM5crC92jpmO4JisTOhyYYR/xClNI7SRxC2y/HeoRVzYZDBiJ2roIvbZ35Ilu+eFjmV PAbRu6jbRnKTw4SQfKjvjnkMpuj5Q0tKLV+Hy/mlwosgUG+dV48C5/T+rxouoZZZAx538n 9/onkOXsFOha3y0X63pQJy1LcZ8G49YR5LXuPJ3QpbeXR8zQpdrpEXGA/zN1Jw== 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 7306C2486E; Wed, 6 Apr 2022 23:46:22 +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 236NkMs7009149; Wed, 6 Apr 2022 23:46:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 236NkMs0009148; Wed, 6 Apr 2022 23:46:22 GMT (envelope-from git) Date: Wed, 6 Apr 2022 23:46:22 GMT Message-Id: <202204062346.236NkMs0009148@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: db3603ff0947 - main - ibcore: Disable set but unused warnings. 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: db3603ff09477cebf6a8c06ae6b467c056128413 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649288783; 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=hvedJjr1oLbZpYHFHZyUoh18bV9t6xhXpqA2w4PUcbc=; b=ElGEHiqNE05pmS9sIlPjxDguD0uMsxDjJc67DfjD0lz8CqshS4v9IsL5AOazMnEa1pUlE6 Ay0WWRSSizTK3Qhy0MTPw3biA/axbvJr0dIioR3/+oxcuWF2aiMzuP/GUcca83GSpoiIa5 ApVIVi3Dw8FbD0CZDzRqoV7itAY7dtLPRj5o2gTwSOgM3mXefEAVihlLPFf+nwWnlfPp7P BPEU//VMona58V2KirlvBE4arjmwxHiDTovW4HJKhZqkDn6jYXhuYFtO/94+kHlHz4lJ4m kCMQjQuhoijqRx3IolbIAl6mMNUtuB75MY/XWXAzV6Sc5kW584RoS9xr1Go0Fg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649288783; a=rsa-sha256; cv=none; b=u57v0TST7Yli/aVOdXu1kv02kpmXrgG3M49xZkXyD7kithNpjAF4bKNzz9DVSTm6fTa0hI 06syG6Ni7shWM0hNAr5nqnwHlg2osRrCKfhhy0gqwsEmwcTjqn1TcHnpzC44weYkpAhLRc cna4Xn268F4En8ucXcpkE/wZSfRWHBdYGmIrbOP2JWZu1zps4GlkEhnD9t3JqxqQiFuwO3 1aasBnhx4vh0qYO703GY8t1v8aa6uslTRKV5xM6clLWq9sAibkRXSIw2ZVoALNzip0+Ksg LfKRFBFVJ/PZRZe/BAsL5cbTYlVG+ynVyVUY8kKTJ5vnnDGNQ5prlAzdWSnzPA== 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=db3603ff09477cebf6a8c06ae6b467c056128413 commit db3603ff09477cebf6a8c06ae6b467c056128413 Author: John Baldwin AuthorDate: 2022-04-06 23:45:29 +0000 Commit: John Baldwin CommitDate: 2022-04-06 23:45:29 +0000 ibcore: Disable set but unused warnings. --- sys/conf/files | 2 +- sys/modules/ibcore/Makefile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/conf/files b/sys/conf/files index 3e9565a5df68..60f52d4c6be1 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -4626,7 +4626,7 @@ ofed/drivers/infiniband/core/ib_device.c optional ofed \ ofed/drivers/infiniband/core/ib_fmr_pool.c optional ofed \ compile-with "${OFED_C}" ofed/drivers/infiniband/core/ib_iwcm.c optional ofed \ - compile-with "${OFED_C}" + compile-with "${OFED_C} ${NO_WUNUSED_BUT_SET_VARIABLE}" ofed/drivers/infiniband/core/ib_iwpm_msg.c optional ofed \ compile-with "${OFED_C}" ofed/drivers/infiniband/core/ib_iwpm_util.c optional ofed \ diff --git a/sys/modules/ibcore/Makefile b/sys/modules/ibcore/Makefile index 4cabde88f885..2f738b1702b7 100644 --- a/sys/modules/ibcore/Makefile +++ b/sys/modules/ibcore/Makefile @@ -57,3 +57,4 @@ EXPORT_SYMS= YES .include CWARNFLAGS+= -Wno-cast-qual -Wno-pointer-arith +CWARNFLAGS+= ${NO_WUNUSED_BUT_SET_VARIABLE}