From nobody Mon Feb 13 21:09:53 2023 X-Original-To: dev-commits-src-main@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 4PFxmy1k8Lz3q5L0; Mon, 13 Feb 2023 21:09:54 +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 4PFxmy0xvqz4SHV; Mon, 13 Feb 2023 21:09:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676322594; 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=HNrkHyUkF+oXbO422ARz2/VhIN3hcix6CQqkTPBP4JQ=; b=FU0FIWJoEInaClv5dJBUd/9Ox36NIYTSM4K9aMUTuhOATb+PARqfqN0QGFf0ho7PaUYxxv bwwi9W6mljpmMTn7DzI/QypOPd8mk+Et/tKHcxB9+5vmIhMTf4M2Fhx8bqGSvnXRwCxFnb +714tTOHkAQLp4uDqRhNZJLimtUKMxhdBlXwqCBqcY+Jt2ZbvhFg++68BBc28zzM8Ywpo1 HaN05wabCF4fDFOQCtiSmRFUtflomEgEXAjasZ2GHZucMhdNz88sLhUnGZ8xT74m+htWv2 dd5ZeuE0vymKYXQ1MzcziPsrt/mp9+ESBQxd+hW5sgfoPtgjSGAMxRC4GxtL8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676322594; 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=HNrkHyUkF+oXbO422ARz2/VhIN3hcix6CQqkTPBP4JQ=; b=T1d5WgBfOKD4DBm5a1lYMlqyNA4GJxKnLrwV9hJgZAft1CNwScI1poLwyKDYybr6OBXw5L G1jpB5L4fLwgkQwOgzD/yPFS8mD/aLWbJB+ecSCHTEo0NjDAA5YNZO6Hle8wsapfR+V6Z9 NS4C1Tunnr/Dy6P4CtgjGtj+zv2A0uXIG8JYYpGZmlCm1QB9iJHO11tlQtXldECyISOkCu /JoVhujVAdwjpZWE57z142WdgGS3pAYBLyOk0/J3w/01WMwRgsTXj7GfV38/dk1Vupdbau Ga7e1Otwou2YgA08MioPmu2/Vqdc/ZsRAh94jUR6+34ue0FD3Ae+un3cXSMh2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676322594; a=rsa-sha256; cv=none; b=rvm5D9nOuqsArtDEvk8i3XKII7mlfg/O+egO3GZ7cO9zK+Ohu1MaxqOC4f+cOw1GBgKmyk TQKnTuc2EBRDxEH8YGMDgErnGeTCWLXQRgjCWj/HqzaZor0TmOteGOyQ/kfmPzLAnybrSN JL9owSJqRVwbRJt5XmIgTom66kHpXCDwpxUVspY4NlLL/ChK++NNdZLAI5A1gySkx0YkSW /rWhZB9+s3KJGPru3UlIxEQOaISfnG8OeaP0yckNMilo2vziDYP1jV517W3NZgJk7OklpG 4uNTS3b0FarbjsxCm2za0Qo0B5TY00UQY/UUpBuK76RUSxiFa0jHMhFmkdkECw== 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 4PFxmx6rnCzYCr; Mon, 13 Feb 2023 21:09:53 +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 31DL9rf0056540; Mon, 13 Feb 2023 21:09:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31DL9rK8056539; Mon, 13 Feb 2023 21:09:53 GMT (envelope-from git) Date: Mon, 13 Feb 2023 21:09:53 GMT Message-Id: <202302132109.31DL9rK8056539@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Subject: git: d91cf060205c - main - linuxkpi: Add + include it from List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dumbbell X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d91cf060205cfe479675d7fb4ec95d2ed6a9b76c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dumbbell (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=d91cf060205cfe479675d7fb4ec95d2ed6a9b76c commit d91cf060205cfe479675d7fb4ec95d2ed6a9b76c Author: Jean-Sébastien Pédron AuthorDate: 2023-02-10 10:52:12 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-02-13 21:09:32 +0000 linuxkpi: Add + include it from The header was moved in Linux 5.15. Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38540 --- sys/compat/linuxkpi/common/include/linux/kernel.h | 2 +- sys/compat/linuxkpi/common/include/linux/stdarg.h | 33 +++++++++++++++++++++++ sys/compat/linuxkpi/common/include/linux/string.h | 1 + 3 files changed, 35 insertions(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/include/linux/kernel.h b/sys/compat/linuxkpi/common/include/linux/kernel.h index 54b558d0bea2..aee299efa732 100644 --- a/sys/compat/linuxkpi/common/include/linux/kernel.h +++ b/sys/compat/linuxkpi/common/include/linux/kernel.h @@ -58,7 +58,7 @@ #include #include -#include +#include #define KERN_CONT "" #define KERN_EMERG "<0>" diff --git a/sys/compat/linuxkpi/common/include/linux/stdarg.h b/sys/compat/linuxkpi/common/include/linux/stdarg.h new file mode 100644 index 000000000000..b6141038d69a --- /dev/null +++ b/sys/compat/linuxkpi/common/include/linux/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_ */ diff --git a/sys/compat/linuxkpi/common/include/linux/string.h b/sys/compat/linuxkpi/common/include/linux/string.h index 932bed81d034..65422cac629c 100644 --- a/sys/compat/linuxkpi/common/include/linux/string.h +++ b/sys/compat/linuxkpi/common/include/linux/string.h @@ -39,6 +39,7 @@ #include #include #include /* for BITS_PER_LONG */ +#include #include