From nobody Tue Dec 9 00:21:04 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 4dQKJd15wqz6Jc17 for ; Tue, 09 Dec 2025 00:21:05 +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 4dQKJc74pTz3W3g for ; Tue, 09 Dec 2025 00:21:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=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=jRbToryEYhLJGWib1Z/t9ztM/YikyxNJG5r2EmrrCSw=; b=kbQawRc4MWhyY+7l0wjtk0Dxjx6MCzoWqvnQ0KS0/FDwTI9FJqzu9iBUf4eN3fkDNEkmrj IE/aPaiSpm4pwe8QWLMTGP2v1TbPUGUoh/eTzHPS0RbCp/wVmwcfycjkg8RmMMy6XUX8cl 2AgH4fH4UB3JpPgdN9nYVw2RsGesdMLZl+k7cE+wC7+KaF1rVc2/oFVssWdC4K3edSBalc cBVpTV9qVJCzsHA0Q655zVBq4+uyK+gPrmo3i4rOwStlMVew+mXYcIIvHJSlO6AKES1KhJ YiFHNA7FgAqB7o3NHqaFEjMVrylsQGLcs0d7V+wKmHEe3SYMNgdx6YtZShv/TQ== 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=jRbToryEYhLJGWib1Z/t9ztM/YikyxNJG5r2EmrrCSw=; b=CvV6cIYguJTqByxEaD7URQRPkeVQy+D0wR2eOmhG4Gu085TDAyHUIcFyONZr0PYZKLe9Pc YYEQakc1wfoSujWx8mVM0kfwN9WYfr1Fzltne0LQWy0Er7CiwJoyHajnXkf72PmhCmhFqV UsOHx+pOC+m7u3ohW3qCPO1tgGNYdG/LR4OyXSK8jHF+59dq3CMRKmT/XvfU5B5QkFzqdx 9F9cCcgJQyHvi9KHV8SikI+KXRck3RKp7OxGhDwrK9Ww+b3oFI4cfKyuNWzaeDsLHiIGNx nX1BXD84adyG/nTP/I3MOHMP1tZUml1fVUDk+76NRLXL3vPNDtgKR2U2d/jPSw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765239665; a=rsa-sha256; cv=none; b=vGtxK+cM9mN+LpACCrSLRlRmdJjV+q4Ah5yTqTThQzM99hNIYCQ+4fm1vTZsAtTBKg46Fg rfdGAPofS+ODd0oJ0ml1Q+j/X9uhjVRNKrNxAgprujwtmWZgA6gFg3FxpsyvPg5XatvCkM vqXE7/35CvOmOjEGXGzwacQd7eoidY7PdvucAOwa7IDxx5DQTTlQ/acUhwCbEyRzxpWvdQ C8J9D+JAnBpgb5xNMR1vY3RziAt9gVkBtPcETMZ6yMkhdzjPqPAYrZUDMvfol8A900npQJ GG+7cn+4v74HLiEThbm6NuhI3BrzWzZmVjgxsWhj+RKJptcKRNNX8jExGAfyVA== 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 4dQKJc5hX9zbcb for ; Tue, 09 Dec 2025 00:21:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id ce4e by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 09 Dec 2025 00:21:04 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 6a75e3951506 - main - ofed/libibverbs: remove strdupa() hack from config.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: 6a75e3951506c12b42428a47710d07cadcdd723e Auto-Submitted: auto-generated Date: Tue, 09 Dec 2025 00:21:04 +0000 Message-Id: <69376b70.ce4e.303fa65b@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=6a75e3951506c12b42428a47710d07cadcdd723e commit 6a75e3951506c12b42428a47710d07cadcdd723e Author: Konstantin Belousov AuthorDate: 2025-12-08 22:38:48 +0000 Commit: Konstantin Belousov CommitDate: 2025-12-09 00:20:42 +0000 ofed/libibverbs: remove strdupa() hack from config.h It is now provided by regular string.h. While there, remove stale $FreeBSD$ svn tag, and add include guards. Sponsored by: NVidia networking MFC after: 1 week --- contrib/ofed/libibverbs/config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/ofed/libibverbs/config.h b/contrib/ofed/libibverbs/config.h index 88722ee1cde1..ee0ff8fb020e 100644 --- a/contrib/ofed/libibverbs/config.h +++ b/contrib/ofed/libibverbs/config.h @@ -1,6 +1,5 @@ -/* $FreeBSD$ */ - -#include "alloca.h" +#ifndef _OFED_IBVERBS_CONFIG_H_ +#define _OFED_IBVERBS_CONFIG_H_ #define memalign(align, size) ({ \ void *__ptr; \ @@ -39,3 +38,4 @@ #define MADV_DOFORK MADV_NORMAL #define SWITCH_FALLTHROUGH (void)0 +#endif /* _OFED_IBVERBS_CONFIG_H_ */