From nobody Wed Sep  7 15:09:51 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 4MN5Jv2wWqz4bPFw;
	Wed,  7 Sep 2022 15:09:51 +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 4MN5Jv2DBnz3Wl6;
	Wed,  7 Sep 2022 15:09:51 +0000 (UTC)
	(envelope-from git@FreeBSD.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1662563391;
	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=NfowgSVzeax70912LZsjxxvqHy3olkCDBFuNvs9Sfvw=;
	b=L1PMXGOEsm8gf1JdZdCb4yZvr0DBPyc04lBSCYcWboaw3aGhx3bI04HxxWKFDezByGphkW
	GRa7sxrRoOHFm1SXZKWJ69ZMsfELshDa2nCKP3KYlcRClehpRLg5xdZnVUFSXYcBEnRHtJ
	7OPc7DjxE70E1OlUDqlGNN/nWyX/S9Ap8GGU1BLq+4gZhTL8GtaQmVAP3yw6MwDSy7YykZ
	Z1LpRS4NFHBO/dA7YQie2ic4m+XIHH+RcFfYc8EST+f5KJHQy9hMb8BG/UCA9YiQ4XQPDJ
	srUlDvVksNxjVNJUwyo3xoorLNZnJ8QODyob6Yvys/lL3n6zMfFYNfwwyntcpQ==
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 4MN5Jv19ZHzZ8h;
	Wed,  7 Sep 2022 15:09:51 +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 287F9puJ017109;
	Wed, 7 Sep 2022 15:09:51 GMT
	(envelope-from git@gitrepo.freebsd.org)
Received: (from git@localhost)
	by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 287F9pCW017108;
	Wed, 7 Sep 2022 15:09:51 GMT
	(envelope-from git)
Date: Wed, 7 Sep 2022 15:09:51 GMT
Message-Id: <202209071509.287F9pCW017108@gitrepo.freebsd.org>
To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org,
        dev-commits-src-branches@FreeBSD.org
From: Emmanuel Vadot <manu@FreeBSD.org>
Subject: git: afca4d971b2d - stable/13 - linuxkpi: Add kfifo.h
List-Id: Commits to the stable branches of the FreeBSD src repository <dev-commits-src-branches.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches
List-Help: <mailto:dev-commits-src-branches+help@freebsd.org>
List-Post: <mailto:dev-commits-src-branches@freebsd.org>
List-Subscribe: <mailto:dev-commits-src-branches+subscribe@freebsd.org>
List-Unsubscribe: <mailto:dev-commits-src-branches+unsubscribe@freebsd.org>
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: manu
X-Git-Repository: src
X-Git-Refname: refs/heads/stable/13
X-Git-Reftype: branch
X-Git-Commit: afca4d971b2d2ccf27d01669b1d72fd8c829a934
Auto-Submitted: auto-generated
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1662563391;
	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=NfowgSVzeax70912LZsjxxvqHy3olkCDBFuNvs9Sfvw=;
	b=b++e+cRnzwOihJDcn20u+6ey4Zwx59bRgCMgzFFpho6yhFD1dMbq8V/5zJrjcVAZU0regW
	t6fSlz8B7r/LfO/KshOeUYaL4Bo/xgNBfWvt0RjyQnk9abf73/A9DK2AaGbLJc3RedZmOZ
	vpPFkJYhGk6VCUPzd9aDSlH8usraguwpzatTc5pLbXebhwdN4T0kPGDW9rHNrgylnY2n1H
	BL4Y4YVOxPgz6oN91v5+LWEusYvbcMnZnsc+2ke7xMy3wjtRqdlfA3iN5/FrAGKuFNfk2k
	tDfxObgROrS6U+uRlrEwfsgIVLagV/lEf4pakCLi0Dk8yyFe/tlgolz7D4cWTA==
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662563391; a=rsa-sha256; cv=none;
	b=c1JqkE2WSw1Nn75T5cAlmLSW/UuYD5KlocQ4zwhMQpky8iBd1d8TnQYkzIJMORmzwPRcj1
	capgyKDQDZQHraweO0BIxdEOLnQ0JMKyOa6QWOaxMXi0D1O2Ii6pOTa4fBFu4L3nWnE+7q
	j2i2wBQnnH9XiL9aeODq61tHqllexHo/lX8fLVAZj4MVQqeF7veLle8BR6DsBNsmapa4Do
	t+ZJz/lTg7n+OVHDaWe0I+NTIaXCM3z1lOM6IeONcXDZo7f58kMZrMAOiWNlvs8bgBMgvb
	ft2+1K6QqovXNXkLYCCK3JD/ydsNX5VpZvsINKotyDKM0UZ5YGExnsH7NUy8eg==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
X-ThisMailContainsUnwantedMimeParts: N

The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=afca4d971b2d2ccf27d01669b1d72fd8c829a934

commit afca4d971b2d2ccf27d01669b1d72fd8c829a934
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-06-23 07:50:29 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-09-07 15:09:02 +0000

    linuxkpi: Add kfifo.h
    
    Provide macros needed for drm-kmod.
    
    Reviewed by:    bz
    MFC after:      1 week
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    Differential Revision:  https://reviews.freebsd.org/D35563
    
    (cherry picked from commit 088b746cbda664602f9cee0d1415ae8d98389f38)
---
 sys/compat/linuxkpi/common/include/linux/kfifo.h | 33 ++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/kfifo.h b/sys/compat/linuxkpi/common/include/linux/kfifo.h
new file mode 100644
index 000000000000..6ba1528d965c
--- /dev/null
+++ b/sys/compat/linuxkpi/common/include/linux/kfifo.h
@@ -0,0 +1,33 @@
+/*-
+ * Copyright (c) 2021 Beckhoff Automation GmbH & Co. KG
+ *
+ * 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, 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 AND CONTRIBUTORS ``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 OR CONTRIBUTORS 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_LINUX_KFIFO_H_
+#define	_LINUXKPI_LINUX_KFIFO_H_
+
+#define	INIT_KFIFO(x)	0
+#define	DECLARE_KFIFO(x, y, z)
+
+#endif	/* _LINUXKPI_LINUX_KFIFO_H_*/