From nobody Tue Apr 26 15:40:51 2022 X-Original-To: dev-commits-ports-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 D49901A9ED58; Tue, 26 Apr 2022 15:40:51 +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 4KnmLW5YgRz4Ymw; Tue, 26 Apr 2022 15:40:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650987651; 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=FiW0O1ylojA1zDQIwn1TNy70HhQL3+oB2KrW8yyb4nw=; b=ZC1etBbKZfHqWMNNQfR0mfnHoSidKCaipJmoIiKcH6IPR+9EiafBCAKziMyPpBWXy+sWJw x0mtv4lnWzAGjx8lH7t5aAJ1dp7km8InJZYpR+xcHG+OhV2HLwiIfrKNv4u9yB/ja11mhN zKJoL3wmqiBEJjh277jPQ2G74ujtimgQgLJfAqggqI8i+wrv5Frtr/QhJPwQrTBvVmEnqg G+bFlCmfu6THxHQ+NKLHfA8O4D8yOmyBdJT5bpX/MBcBccqr81PSNelYsvWFfUcakCW9jA cf+22mjAjIgCF3bjCA35j3TNplGup8HmhnRFtYniBCESWxPtZTnpELaNs7CdAw== 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 9F42111CD2; Tue, 26 Apr 2022 15:40:51 +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 23QFepm6091758; Tue, 26 Apr 2022 15:40:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23QFephn091757; Tue, 26 Apr 2022 15:40:51 GMT (envelope-from git) Date: Tue, 26 Apr 2022 15:40:51 GMT Message-Id: <202204261540.23QFephn091757@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alex Dupre Subject: git: e9ef42c97b4d - main - security/quantis-kmod: fix build on -CURRENT List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e9ef42c97b4d62d2b8382e75894f02faae83cdc0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650987651; 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=FiW0O1ylojA1zDQIwn1TNy70HhQL3+oB2KrW8yyb4nw=; b=ZfMbpWKQsc5JHFeB8alRjRbHksUCt1gSgbw3++KH2n9hdyszDzWfv775A5SabrTkIILWHS /IIQjBUI8pIz4NknAeLzHQPycKAbKtvkgW+O2Ip3Hom9uDwoTm1ttZ5IIzLeRe0BkbIML0 koVrRiCpwy1Ya3bVui09JjNwj30LW3yPvf/1HDEQKtM148gTUppWPOUpo140hy8+f9S5Zn xz/CaOHI89VvA8db3waTz7NEDX1yfEXkFnJcB6AEggt5kNFu50tpCe23HGarGRY6uvhF2q NiIKuGuS7egj+uPG5iYvMQWNlDuvS2nhlhwLeQ6tRjdpX/5sdX0bqr7PSWzuLA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650987651; a=rsa-sha256; cv=none; b=yiqVzFnZKU3i+EIvRi5prrAdCmt1O33HOivq7MBL/Xmphr3FBgW1Jirs7z9eC4/9ODXcyZ TA13R8i8sESFBLsOli/I6+5MuPYktk8SuvWS6e6/BbFUEwaAvqqDE11zotEK15jXuC6y2X /rPe7X58Sw3zcc4+YB3emN2PSgk0IdQmpIQg8CiZeMKLoYzPIwfkLB+6DRu59bOVQyX/bw BxgnZ0ZVoRBxFlp0YYfDKWMTTiME2vYV2g1+lt130lRJBC9rQdYmMyzqqco+huXQmUSKy4 h4jSOeMsaLan8ZvyFyQPdFUXfzQaeaEzGJi4YMgauhp8Xw6WXlKINIR6z3YyHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ale: URL: https://cgit.FreeBSD.org/ports/commit/?id=e9ef42c97b4d62d2b8382e75894f02faae83cdc0 commit e9ef42c97b4d62d2b8382e75894f02faae83cdc0 Author: Alex Dupre AuthorDate: 2022-04-26 15:40:02 +0000 Commit: Alex Dupre CommitDate: 2022-04-26 15:40:47 +0000 security/quantis-kmod: fix build on -CURRENT --- .../files/patch-freebsd_quantis__pci__freebsd.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/security/quantis-kmod/files/patch-freebsd_quantis__pci__freebsd.c b/security/quantis-kmod/files/patch-freebsd_quantis__pci__freebsd.c new file mode 100644 index 000000000000..1027ef172ab1 --- /dev/null +++ b/security/quantis-kmod/files/patch-freebsd_quantis__pci__freebsd.c @@ -0,0 +1,18 @@ +--- freebsd/quantis_pci_freebsd.c.orig 2022-04-26 15:35:51 UTC ++++ freebsd/quantis_pci_freebsd.c +@@ -287,7 +287,6 @@ static int quantis_detach(device_t device, struct quan + **/ + static int quantis_allocate_resources(device_t device) + { +- int error; + struct quantis_pci_device *scp = DEVICE2SOFTC(device); + + mtx_init(&scp->mutex, "Quantis Device Mutex", NULL, MTX_DEF); +@@ -301,7 +300,6 @@ static int quantis_allocate_resources(device_t device) + return (0); + + errexit: +- error = ENXIO; + quantis_deallocate_resources(device); + return (ENXIO); + }