From nobody Tue May 10 23:23:53 2022 X-Original-To: dev-commits-src-branches@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 8DD621AD7643; Tue, 10 May 2022 23:23:53 +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 4KyYyK3bmbz4c3v; Tue, 10 May 2022 23:23:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652225033; 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=jV5DdjYonoI/SMXLZxzI8WVgxrB06ZkWFjLPEAIXnZw=; b=fWsaTKeptQSL5uhGzUR9P26i9BrKmtbRNcWvRYLlWjeyNSii+UxElIW2HNTotlpJrROcdE VNByXbZGgtjR0Mctf9K3v1sXMlERUL4VlEaRGVvudjORB5qjtUC0hmhFBFcLd4r/Sd4ZaK QFQv3+/7ez+FI9WlL402ahVc9yvZemKktZRh5RkTyGXcYreFpQv0ID3p5hf8jUtTOus3gP Ph1UeXxz2xHTxVJY+78SLNsLR202wY2B4YyH7Xtcpj/asM30ZQBZ5jbncgbvprywj5ZPc1 wpVRV+AvO1/lhf4G4ENZSc5ZBDf3ltKw7giCYyVlgfVwpT3ydh7S42vyOnCrdg== 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 5B3ED6452; Tue, 10 May 2022 23:23:53 +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 24ANNrUC072089; Tue, 10 May 2022 23:23:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24ANNr5o072088; Tue, 10 May 2022 23:23:53 GMT (envelope-from git) Date: Tue, 10 May 2022 23:23:53 GMT Message-Id: <202205102323.24ANNr5o072088@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 3e7bd3391f1b - stable/13 - iflib: Cast the result of iflib_netmap_txq_init() to void. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 3e7bd3391f1b6d35ee58a7e1b07f466730babb1a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652225033; 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=jV5DdjYonoI/SMXLZxzI8WVgxrB06ZkWFjLPEAIXnZw=; b=G+VAySQyU4WdarJcE34M1NG0X5yxPUA0cZOlt6GAYDWl5BQR6Zn+WF3lVxsTIcqKqLb9nB KkxS8YMruHO3aDjm4j8lQLf2FbDqIKcOMDEs5TebAXbb/25WhKWYkfvUTPIi2a3LCUuN21 OLnDI1+QmTB7TNY+Brh8QU4hum4Vktj5HqFS+nCb+xnB3DUM0UanwpNkP9SHfEOvGcriM1 bYSA6U1hO8hiRJv9/6bNUtkBINfxKPkLW6SUZaxpJDRkpzoKCvwbHj++HWk7KxWVZvhXTD ZLLqpg5pK1N3oJaBICnx6CBpRUbl4WCGaFyNquzH22AYhNNGaFHxgjjWxmyT4w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652225033; a=rsa-sha256; cv=none; b=ILo42ai5RfxTPi2slB3XD8Tbe9N7V1zW96WXWs6Yax1Jc+N2mZ+MWtayRoU/qa9FAnJk67 LK0Cy7+dVVk60JQGAxG22n+i9vzBWgP1KXKYp/fqbMHz4eM3e7hMpvnyyHrZcaHMsDwM6w tV79+DGuh5TkRog1s+O3wRHsas4TwvogSv2rNfAdZh2ylHk6VFc0jw6QpvH08ge5SzS3Tz t74fg80iTuO1/jZqdUErOuylq2GRvR88gSfZBkK4GPjBuDqZqwVK5GDMUODuq6T0wF2p36 P7ZXBGy/PyDeEHh8gpG5D9cdmc1o2bkoc/oVZd7f+4GXqO8ycsHJIZUiIYD6+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=3e7bd3391f1b6d35ee58a7e1b07f466730babb1a commit 3e7bd3391f1b6d35ee58a7e1b07f466730babb1a Author: John Baldwin AuthorDate: 2021-02-19 20:52:05 +0000 Commit: John Baldwin CommitDate: 2022-05-10 20:59:07 +0000 iflib: Cast the result of iflib_netmap_txq_init() to void. This fixes a warning from GCC for kernels without netmap since the return value is never used. Reviewed by: vmaffione, erj Differential Revision: https://reviews.freebsd.org/D28598 (cherry picked from commit 2ccf971ace0bf23a9b27ec886a7f013c47661052) --- sys/net/iflib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/iflib.c b/sys/net/iflib.c index aba3baaa1e50..90cc2f851804 100644 --- a/sys/net/iflib.c +++ b/sys/net/iflib.c @@ -2494,7 +2494,7 @@ iflib_init_locked(if_ctx_t ctx) callout_stop(&txq->ift_netmap_timer); #endif /* DEV_NETMAP */ CALLOUT_UNLOCK(txq); - iflib_netmap_txq_init(ctx, txq); + (void)iflib_netmap_txq_init(ctx, txq); } /*