From nobody Mon Jan 10 19:50:41 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 548D21954909; Mon, 10 Jan 2022 19:50:44 +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 4JXkvl0Bt2z3Nxd; Mon, 10 Jan 2022 19:50:42 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 7986A32A9; Mon, 10 Jan 2022 19:50:41 +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 20AJoflh009079; Mon, 10 Jan 2022 19:50:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20AJofFN009078; Mon, 10 Jan 2022 19:50:41 GMT (envelope-from git) Date: Mon, 10 Jan 2022 19:50:41 GMT Message-Id: <202201101950.20AJofFN009078@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Vladimir Kondratyev Subject: git: f1a7639a165d - main - 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/main X-Git-Reftype: branch X-Git-Commit: f1a7639a165d2ef945c0fdac5862167da671c7c4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641844243; 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=pznHEviQ/F52Kw8PF2POgDvuQh8ZMrxxFc17D5nR4yM=; b=uOScAms7nInIC3X1rSie+3m3rO5mIflpXMvGA4E38UjxFsyXJh9dADzIJNePfYaN33WYEB FSVYXlKssChgHuEYrByEiKZRDX1a/NE/Nih83QnEyEbu/O+/UKCpLzDuBX8NTZx4edV8r0 cFAdb7yRSUq8aDCLGDLqUGw2+uGSLKxwSrUAGMMZLQD698FMxvMvNoQ9NsvLKdgykbm0Dc oZ+z7S00idWgbxSE4sYOOhaHZVrkOTZWTqJPaTfHmLDa0dih0yGg9U98p41LKXEACh70ad +o2RL7aGSZv+9TiFbt5ftdaIXRQrRh4iNV677S185Q+VE82GJuxNymNN0+26OA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641844243; a=rsa-sha256; cv=none; b=Ql4W+QT//kcsgOGrbJBKGbkkPrujWFK37MaLK6hOJy3HSCiyf9+ZogZHJB4VCP8Z30sqkk fMXbYOeaBkgdXmyGQgjYg3Ezx3MaREb8v0H6HtqqEpn+CZy636aIif9HnJ3dgLXptkU/g1 OICKvF3KCBiM19LU/lrqmtEF2521/uL/nIDwdaXUVgIvNADv1a/dYWeb5sRgKoeR2pbVow 4jaNLfFkUzqnyLUR/ybLLdYvjoK7xqOfqgMoIMGz7EKIlvLLnwbnj/StoTWN49wyVnyIQr iMzRYpec06QXlK1lByYKKqPzAtrSD5Q3U+5DYfhup+Ait0gHE9z8mxDJyllcnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=f1a7639a165d2ef945c0fdac5862167da671c7c4 commit f1a7639a165d2ef945c0fdac5862167da671c7c4 Author: Vladimir Kondratyev AuthorDate: 2021-12-04 10:00:53 +0000 Commit: Vladimir Kondratyev CommitDate: 2022-01-10 19:49:37 +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 --- 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 010eb2d316cd..233bbd230726 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 8f9dfab1cd25..1d800f46908f 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 ecd39d711eb4..56bb08c185e2 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;