From nobody Sat Jan 22 19:36:29 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 B163F196B8C3; Sat, 22 Jan 2022 19:36:34 +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 4Jh61r1XVHz3RBx; Sat, 22 Jan 2022 19:36:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642880194; 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=DMbGVLwLix5cUOk8sKU6zNAek/nchzyGVctCJtxD2dk=; b=ormQ8+TXuy1ABvb+JXvKqyBrxGtZqKiWmOSLGKuoxf/HULHtIqNikajHJQO6EGOZcXcpaF yoDPkt6udpptZpRyaT7TLQiGfCKlX3wFLg3WJF4k5W8kj88TOZAleqAuZ8B6FB5qURf5Sg UpaH43NN1bDkXo/qWTjbnC4Wvl6iRtKEI8MuTaKZ0JelFst9O5d8yPWTDfjyerVr70o3QM dnyrW8u6ny4ZXl2CELJx2qviaSF1uWi5EIUHoUI7peesjdDTDjg8oHkf0BEkXehT70CUND ClgsL0XCZvaPQxB1ya/0bbog9UaiP0Pu6U3w6GLboPr2DuDPahllWhG1REAJcQ== 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 8E23414B64; Sat, 22 Jan 2022 19:36:29 +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 20MJaT91000195; Sat, 22 Jan 2022 19:36:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20MJaTdX000194; Sat, 22 Jan 2022 19:36:29 GMT (envelope-from git) Date: Sat, 22 Jan 2022 19:36:29 GMT Message-Id: <202201221936.20MJaTdX000194@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Vladimir Kondratyev Subject: git: 6fda5ef279db - stable/13 - LinuxKPI: Add stdarg.h proxy header 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: wulf X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 6fda5ef279dbfd829185677e970168d765de6bd7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642880194; 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=DMbGVLwLix5cUOk8sKU6zNAek/nchzyGVctCJtxD2dk=; b=HjD9BXx8iQRwzzBFyC3CMUu4NnFpKZOeRRveHKIDUNvO129XpSrEZBnziaJR9kirHcLSNJ Fpq8J7jV6jqytbRjNb7cwcCoERrZj0Voc9/RjTasJH9te4BjpmJrdxtuTzMwVJMHezvdb1 PqLwMazXnyZRVVe6+4UKLaD3LjHm50Dt2iZ87i8DCdLvUOc65ONI12TSFIHuypSej4AtSU yq0+QWPSjJZullexXhXszMNVycizrs3BPtydCJ4nV97x8DAez+zS5qUtG1VI1URL4+d9qc HnzJj7cde5SQd50TKj4zGAAHDlCpm4z8RKzDWZqYxcKxQ/mIeqh4M92e3HzKZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642880194; a=rsa-sha256; cv=none; b=XjNxtiaRTKswxVllThzG71rR5ooeOVc9X/PIomNxeMKnfYCH/pYdvUTSZB07F5onrUIjTK fXitMaxtumNq9OKM7lDcxCKSbjEXn9E3mFjSCMZqvowvvcERRKH9h0V2Y+JxXQEkaGi96f XyMPl8hoz50M/Z9PcPoAADakI+29WHgHtsjNOTwtCK9Rs3o33iUbhhy9MKu8RyUwb3l7La r79RqkCU5EhmXqDGQ2F79xRJ96qe2CjQdfr/H6PsV1BCzIQAq9OWaSI4VSdPdDPjDFw/U8 U9iqek0bj0sOXkA1ZKDJ0awf0Rc/0qb5OmZS2ua0X2EdWX33pI7b3mJg3pbN6Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=6fda5ef279dbfd829185677e970168d765de6bd7 commit 6fda5ef279dbfd829185677e970168d765de6bd7 Author: Vladimir Kondratyev AuthorDate: 2021-12-04 10:00:53 +0000 Commit: Vladimir Kondratyev CommitDate: 2022-01-22 19:34:36 +0000 LinuxKPI: Add stdarg.h proxy header To reduce amount of drm-kmod patching MFC after: 1 week Reviewed by: hselasky, manu Differential Revision: https://reviews.freebsd.org/D33297 (cherry picked from commit 35235d5ff6038a2ce0b85ef29385678f408dc1a4) --- sys/compat/linuxkpi/common/include/stdarg.h | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/stdarg.h b/sys/compat/linuxkpi/common/include/stdarg.h new file mode 100644 index 000000000000..b6141038d69a --- /dev/null +++ b/sys/compat/linuxkpi/common/include/stdarg.h @@ -0,0 +1,33 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2021 Vladimir Kondratyev + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice unmodified, this list of conditions, and the following + * disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef _LINUXKPI_STDARG_H_ +#define _LINUXKPI_STDARG_H_ + +#include + +#endif /* _LINUXKPI_STDARG_H_ */