Re: [PATCH 1/2] umh, treewide: Explicitly include linux/umh.h where needed
Petr Pavlu <[email protected]>
| Newsgroups | gmane.linux.ports.ppc64.devel,gmane.linux.kernel,gmane.linux.block,gmane.linux.acpi.devel,gmane.comp.video.dri.devel,gmane.linux.file-systems,gmane.linux.nfs,gmane.linux.kernel.cgroups,gmane.linux.kernel.modules,gmane.linux.power-management.general,gmane.linux.network,gmane.linux.kernel.lsm |
|---|---|
| Message-ID | <[email protected]> |
On 7/8/26 8:13 PM, Michal Koutný wrote: > Hi Petr. > > On Wed, Jul 08, 2026 at 05:44:29PM +0200, Petr Pavlu <[email protected]> wrote: >> 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