From nobody Tue Dec 9 00:21:05 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 4dQKJg0CSvz6Jcbh for ; Tue, 09 Dec 2025 00:21:07 +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 4dQKJd6n3kz3Vx5 for ; Tue, 09 Dec 2025 00:21:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765239666; 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=3ZT/0tvL8wahaORZrXbtTPghA05vUg8z1HLOapQlHTA=; b=yFVR3APHXuXLWYs/bgHUCBad0QJi8feVI4DyPt9pYIZOIiArqvNomEr57rl16t1TfvKa3i BMF7SIXzZPDdpjWJzIL9elPNLevkCNyC6erKgN5W6d22M/xu8kNz//hvtQhMkfZ8pGwhEW k6kY+5s5plpTX4O71Jz0Qyt0/OqX2VBd7LsZPAA/CPqlw9JCI6AXk6BtDFB7xySg7RQ9Jb EBkmOgFV73ZGGfzpt7wZQB0PYjWZw/XMVVhU1ym8gaHp41xiPNcdEtODEmi5ACywciqNmW S4ndC70GQrZzvS1181TEywl4uSP/fHf7dO6IZM6ZogENIT8eqbPicuiOYBAKVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765239665; 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=3ZT/0tvL8wahaORZrXbtTPghA05vUg8z1HLOapQlHTA=; b=LIPiGxwywhOA/J7JPly7I1ki93FPH7kLvss66KB0A5gbFlLlaApAOuyJUZGroPpp3iDo7J KPxrrYR2D7nv8/lHQhzNeMj9T1Mu7CJ26yi8QRHFLxcgvwCkU3RyRHJBFUfZSf5msAyt2z m9VZA3I28GZE2GjYIvxYCzo4+WAoWv9W7iC7hDAERPUz6IrNUrMdcV7mHBSHe4HRXPw7J1 wG3wVKL3/ncqwtYPtMqKD5CJAWSChxqNrPBZ9P1vu8MIPXtBI0Vf0HnImmUASqvWwAsqvd 7aOJQ8QbWz9UAWcYbrzRNY8lJie9xiOKecIRxP+WONYT/m5eH/MzD61QJYHrUQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765239666; a=rsa-sha256; cv=none; b=GX9RBPE05ifujPo4RUwGpRl4JlGI7zkr/R5OGE3Lma8L9F7eU4dK1m6BbZiVmurvlM1cWQ nsk7TKBVPNxOFkukxMKLHq5At4cWoFOE4rmqv2zROqYMQ+v3aUA+ULRrKyj5w7RMl8IJH5 LUPCyMWVLmBZyiK3FUi6c4FZkjTZqzu/cMyi7AEr5mV59Z+0v+A1d6H5v0ePE7X9Ru+Xkh XhHQ0gneKinKkXEpFvsiQ/NBlEE/3cSbFgnQaiRAPPFSNsIFQ92ZwJ3nCx65Sa86XfeIfg Ivoc0IFeqh51B63D/v8BFQiNZXP+kogMex/2sH8DWsEXSxPiD8HYD6qBeq7tgQ== 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 4dQKJd6BMXzbST for ; Tue, 09 Dec 2025 00:21:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id ce52 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 09 Dec 2025 00:21:05 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 70edd3c126a5 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 70edd3c126a591dec129958d3e103521de84746d Auto-Submitted: auto-generated Date: Tue, 09 Dec 2025 00:21:05 +0000 Message-Id: <69376b71.ce52.5a82609@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=70edd3c126a591dec129958d3e103521de84746d commit 70edd3c126a591dec129958d3e103521de84746d Author: Konstantin Belousov AuthorDate: 2025-12-08 23:10:07 +0000 Commit: Konstantin Belousov CommitDate: 2025-12-09 00:20:48 +0000 ofed/libibverbs: remove no longer needed local alloca.h Sponsored by: NVidia networking MFC after: 1 week --- 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 df6af3933e36..af2ff7f21f64 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 6ea7fc241ed8..c840be7cb140 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"