Thread (6 messages) 6 messages, 3 authors, 2d ago

Re: [PATCH 1/2] umh, treewide: Explicitly include linux/umh.h where needed

From: Petr Pavlu <petr.pavlu@suse.com>
Date: 2026-07-09 09:49:50
Also in: bridge, cgroups, dri-devel, driver-core, keyrings, linux-acpi, linux-block, linux-edac, linux-fbdev, linux-fsdevel, linux-modules, linux-nfs, linux-pm, linux-security-module, linuxppc-dev, lkml, ocfs2-devel

On 7/8/26 8:13 PM, Michal Koutný wrote:
Hi Petr.

On Wed, Jul 08, 2026 at 05:44:29PM +0200, Petr Pavlu [off-list ref] wrote:
quoted
diff --git a/kernel/cgroup/cgroup-v1.c b/kernel/cgroup/cgroup-v1.c
index a4337c9b5287..60eb994c32ae 100644
--- a/kernel/cgroup/cgroup-v1.c
+++ b/kernel/cgroup/cgroup-v1.c
@@ -16,6 +16,7 @@
 #include <linux/pid_namespace.h>
 #include <linux/cgroupstats.h>
 #include <linux/fs_parser.h>
+#include <linux/umh.h>
 
 #include <trace/events/cgroup.h>
There is kmod.h in here too but it's unnecessary, no module lazy loading
in this code.
You're right. I'll remove the kmod.h include from
kernel/cgroup/cgroup-v1.c. I went through all the files again and it
seems this was the only place I missed.

-- 
Thanks,
Petr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help