From nobody Tue Dec 16 04:58:19 2025 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 4dVl7H6cljz6K0Bt for ; Tue, 16 Dec 2025 04:58:19 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dVl7H4kzZz3jwP for ; Tue, 16 Dec 2025 04:58:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765861099; 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=SafVZP6th8L0hfJJWviqh+zeRbPWnmzvmC2HdLNIz1c=; b=lv9Ux8hP2D3F+cBb8FvSO9iwfaYAMwCQAp0uGZ2VuHlHfcUIR60EO4TODZYQXLCjZd/3Zh kEuL3wExhtw7tHynZ7bYBgWkDrPHEejkx+KTzC7htDmumzhzMtBCiNBzOiFcZ9yNM50FdE GRDafq5M4kk2QT+IzoSlqB/LWM3s0qFwWht43A1B8OpX+vtZ0hDmfxSKGD3JIlssOtp9W4 rHnuOBJHQEGodJonul9aNHWdGhD4oG8QXJmqg/dkPTIbB2Fyz4xOi43zM3kL/uS2az6hot RlRAJpkeQarfJhX4MlFHPC9gP21nBDV1mQtgCDDG5F3p4dEqsHvOtmg1aX8EDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765861099; 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=SafVZP6th8L0hfJJWviqh+zeRbPWnmzvmC2HdLNIz1c=; b=rraeuxh4dAG7JFkxUaOkgRu7Afxmovo+1nWZvju+p2+vlwL3rNr2l9+Byn9vZH0BaKtM/h EwhzSPAMNZal6gluu23nKVZckWF6I6nBjF8cFEHIv20Bk2wM/wQKuqTEN8EpGlyKHBL4QP umECulRlrvR17aKf51oeekZ4TL31sUdbbeOCfYmUhDRv0q0VKgWNp0q2mJFWuLNyA5VX00 UXWxyasxN74/qnNUjnwhtBRGwZjbk//phktQbMUaRSG/HJGajG1wZ9qJ8s2EGIpr+9xciI GjoQSwp8+YZtECOjEnA9JtHC3RSQfKAoOL61GiSce1dfi/MkpiobDyQ0FU1FqQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765861099; a=rsa-sha256; cv=none; b=sRwa7wpcam9h2YomyU4usztCieQLyZizd6OuAJ8AClDhLFKa4uXdEgMWqxAE/1TU7pZDAG lbvaCsjkwkwwij23DM+c2IpG6K7VatInS3s+RnyRwry1K5/dAtetQoy0FtnmCbrKLRP/UF JT/Y2d/gkVJPpmDwplomwPqic3pN/x5LeHnXnBYhGXyyxHvY0N2njVyGuqE/J9BUI1Kk1X 3kwy4cchFOsbAaD/dOMsKB+dYPADQf5IDMdd+uvEKiY5Ir8bEISKFtiTe6CHXzBsjh9EQW anQ71bBMNno1VpgznUn/I1wb/4cykJpeRcY+e/lIjExueZfXJkH64H21ORa/1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dVl7H4H8NzrcC for ; Tue, 16 Dec 2025 04:58:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id be81 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 16 Dec 2025 04:58:19 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: e5fbddef958d - stable/14 - ofed/libibverbs: remove no longer needed local alloca.h 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: e5fbddef958d3ce81bf338def30a94c404762047 Auto-Submitted: auto-generated Date: Tue, 16 Dec 2025 04:58:19 +0000 Message-Id: <6940e6eb.be81.19e4a158@gitrepo.freebsd.org> The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=e5fbddef958d3ce81bf338def30a94c404762047 commit e5fbddef958d3ce81bf338def30a94c404762047 Author: Konstantin Belousov AuthorDate: 2025-12-08 23:10:07 +0000 Commit: Konstantin Belousov CommitDate: 2025-12-16 04:57:53 +0000 ofed/libibverbs: remove no longer needed local alloca.h (cherry picked from commit 70edd3c126a591dec129958d3e103521de84746d) --- contrib/ofed/libibverbs/alloca.h | 18 ------------------ contrib/ofed/libibverbs/cmd.c | 1 - contrib/ofed/libibverbs/compat-1_0.c | 1 - contrib/ofed/libibverbs/device.c | 1 - 4 files changed, 21 deletions(-) diff --git a/contrib/ofed/libibverbs/alloca.h b/contrib/ofed/libibverbs/alloca.h deleted file mode 100644 index b0311c066275..000000000000 --- a/contrib/ofed/libibverbs/alloca.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef _LIBIBVERBS_ALLOCA_H_ -#define _LIBIBVERBS_ALLOCA_H_ -#include -#include -#include - -#define strdupa(_s) \ -({ \ - char *_d; \ - int _len; \ - \ - _len = strlen(_s) + 1; \ - _d = alloca(_len); \ - if (_d) \ - memcpy(_d, _s, _len); \ - _d; \ -}) -#endif /* _LIBIBVERBS_ALLOCA_H_ */ diff --git a/contrib/ofed/libibverbs/cmd.c b/contrib/ofed/libibverbs/cmd.c index 0a9cc3831d41..b157dd1a8ddc 100644 --- a/contrib/ofed/libibverbs/cmd.c +++ b/contrib/ofed/libibverbs/cmd.c @@ -38,7 +38,6 @@ #include #include #include -#include #include #include "ibverbs.h" diff --git a/contrib/ofed/libibverbs/compat-1_0.c b/contrib/ofed/libibverbs/compat-1_0.c index d63bd55cc09d..73170756ef65 100644 --- a/contrib/ofed/libibverbs/compat-1_0.c +++ b/contrib/ofed/libibverbs/compat-1_0.c @@ -36,7 +36,6 @@ #include #include #include -#include #include "ibverbs.h" diff --git a/contrib/ofed/libibverbs/device.c b/contrib/ofed/libibverbs/device.c index d5cd2173cd8b..48f3f90d2330 100644 --- a/contrib/ofed/libibverbs/device.c +++ b/contrib/ofed/libibverbs/device.c @@ -40,7 +40,6 @@ #include #include #include -#include #include #include "ibverbs.h"