From nobody Sat Jan 22 19:36:28 2022 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 5F9BE196B7C7; 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 4Jh61q6Y6Dz3R6N; 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=1642880193; 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=+gEGlDlXm+Y6gwVdmK2VEYckqOG/XZuedxx+cDa6U2c=; b=MiLOuFoqL46xvaFXtKf8HFEOupvyztDqxeQRZ8Nr/sTDzipZi5UHuL39Cij/d11NxF1dg3 P2WW9H7zfZld0ayy5TzuoMGjLYdN9JZJtXtgJ3Q7WO/APaOlpebtNSrns7CWEdOp7YtNRg V1xYxo2IoQgklBTyRHnYX3yUivPwB+jVbDs7yna28mlXrbQ/lYdPzcxvPUbX1/OdIBaHGX rvNi2GdxLQKO5aUzIJ1jnbQmy31+NhLpmOUXvplw/zc1xWsFcMI10rmN/+B2UEX0o0/1y7 tQclPjONjioOvf5jsXps/YCUVM2Rz4xSvKKgicfwnNyMDhY+r6VTGS/B9TtVWg== 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 662E314B63; Sat, 22 Jan 2022 19:36:28 +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 20MJaS7u000171; Sat, 22 Jan 2022 19:36:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20MJaSu7000170; Sat, 22 Jan 2022 19:36:28 GMT (envelope-from git) Date: Sat, 22 Jan 2022 19:36:28 GMT Message-Id: <202201221936.20MJaSu7000170@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: df10d8c66781 - stable/13 - LinuxKPI: Add some typical header pollution 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: df10d8c66781b4190fb1f03faafa247b1576fb8e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642880193; 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=+gEGlDlXm+Y6gwVdmK2VEYckqOG/XZuedxx+cDa6U2c=; b=u8N9RiZuoQc2Z3U4pq7zLmPqq4JFaV5s1Ri5EAT3TfPL+1pIEkJFsyzRWxMEBWyY5wBAWi xL7GiR4jvBd8+XODCB9zz5pxfKNpSYEoBKeQWb8n6u7cJQ/7IpJBSElJY2YanksvTzuX8f 4BwUesSZcmqhm3lhl7urMxeaJpB84oCDhDyR9bLtsQ3EQPGud9BC1z20gToBQjx5NkTxO6 iQG6TVyyOQN9LXmweqJ9XuEKnNrOuiJjgjQ9t6VGYD34RiOZs3d22fRGf1+HwKwjN4I385 27hci2a3wgYDe5d97akm+R2H88xcnIsVTTqL3mhWwXxcMKm4SHcEXHjnkkbk+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642880193; a=rsa-sha256; cv=none; b=fxcirnUmZvI3V1kxcF8yVs3u01EMcVjGbF3fFrlodJ6ZniXQZCmRHmH5VnNExhsYDx8Gqe ICIhZR0cMFNlG0raYjAIb44RAyl0UP2BMqVvpxi8XkZVksCBSNbmjdbUBKku1GeRgC5g6T pyD2uPYHj5E0/jXzVZ9J4DX2WcmRAV0E0paRlJb4a9oj4B3leFiuCrWhOadeSN+RaAgSKZ TBNULGtJQqK9Jbq/uPIL2SQ/oMO04UA0vtr16t1Sr7cQlnNai7ItZCMSksgcUi7a3bXBaB c0aC2ODpPHn4r6WIhg2A8aiEB6NB68Dgtz+yLed78ypi7/IL/qNH8usIF4Begw== 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=df10d8c66781b4190fb1f03faafa247b1576fb8e commit df10d8c66781b4190fb1f03faafa247b1576fb8e Author: Vladimir Kondratyev AuthorDate: 2021-12-04 10:00:53 +0000 Commit: Vladimir Kondratyev CommitDate: 2022-01-22 19:34:36 +0000 LinuxKPI: Add some typical header pollution 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 f1a7639a165d2ef945c0fdac5862167da671c7c4) --- sys/compat/linuxkpi/common/include/linux/device.h | 3 +++ sys/compat/linuxkpi/common/include/linux/fs.h | 2 ++ sys/compat/linuxkpi/common/include/linux/lockdep.h | 1 + sys/compat/linuxkpi/common/include/linux/slab.h | 1 + sys/compat/linuxkpi/common/include/linux/spinlock.h | 1 + 5 files changed, 8 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/device.h b/sys/compat/linuxkpi/common/include/linux/device.h index 04217fa8b35f..83d007b2988d 100644 --- a/sys/compat/linuxkpi/common/include/linux/device.h +++ b/sys/compat/linuxkpi/common/include/linux/device.h @@ -42,6 +42,9 @@ #include #include #include +#include +#include +#include /* via linux/dev_printk.h */ #include #include diff --git a/sys/compat/linuxkpi/common/include/linux/fs.h b/sys/compat/linuxkpi/common/include/linux/fs.h index f1892352d598..c1097748cbf4 100644 --- a/sys/compat/linuxkpi/common/include/linux/fs.h +++ b/sys/compat/linuxkpi/common/include/linux/fs.h @@ -43,6 +43,8 @@ #include #include #include +#include +#include struct module; struct kiocb; diff --git a/sys/compat/linuxkpi/common/include/linux/lockdep.h b/sys/compat/linuxkpi/common/include/linux/lockdep.h index 25dad8698c74..84cfbf652dbd 100644 --- a/sys/compat/linuxkpi/common/include/linux/lockdep.h +++ b/sys/compat/linuxkpi/common/include/linux/lockdep.h @@ -32,6 +32,7 @@ #ifndef _LINUX_LOCKDEP_H_ #define _LINUX_LOCKDEP_H_ +#include #include struct lock_class_key { diff --git a/sys/compat/linuxkpi/common/include/linux/slab.h b/sys/compat/linuxkpi/common/include/linux/slab.h index 23ba8b9c8ae7..e29dd064ff23 100644 --- a/sys/compat/linuxkpi/common/include/linux/slab.h +++ b/sys/compat/linuxkpi/common/include/linux/slab.h @@ -39,6 +39,7 @@ #include #include #include +#include MALLOC_DECLARE(M_KMALLOC); diff --git a/sys/compat/linuxkpi/common/include/linux/spinlock.h b/sys/compat/linuxkpi/common/include/linux/spinlock.h index 56eaecfb4cd6..c020c7d1df6e 100644 --- a/sys/compat/linuxkpi/common/include/linux/spinlock.h +++ b/sys/compat/linuxkpi/common/include/linux/spinlock.h @@ -41,6 +41,7 @@ #include #include #include +#include typedef struct { struct mtx m;