From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E3F233655F0 for ; Fri, 11 Sep 2026 14:47:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789138027; cv=none; b=X9ZiOEwjZMMOIot8Wntkup4+aV2gd51Qjy9k3Sqyd5TiC7EK1xAODwvA8hTZ2XKXo/pTRMJVmsWzdP7pIhvNOznlUVMfFH0HbWiWK6hpci7aYIB8Xo7uWGRwTge+vdP0t90NCD72zqOCTlcvxe80p9/1cMdF8QdNJejBiRvbMvw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789138027; c=relaxed/simple; bh=DSCMx1gAdSPCiTWrdPODvYb/Tkdl8QWx4O9zomiTJ5Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NyYF1akg43lWAlw+aH5IRzEW/AaetoVq/vOmYv9tqdUOJZ99l8/LEMVBbOLf+fu2ao9BY16YnWUsBePhPILIvCTlhcAN3vP4Zh0OuMr4yvUZhcdYupU4M2aDkMbdYNksP7Yhv6lGQDYuBTwD6XVpQnZfIQaMOlKK8fU5Kg2FcBE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=Y4kYAVwq; arc=none smtp.client-ip=209.85.221.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="Y4kYAVwq" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-486e70f2457so490855f8f.2 for ; Fri, 11 Sep 2026 07:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1789138020; x=1789742820; darn=lists.linux.dev; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=8M3qUem4dgvQjoYpprAxmEKjTGHs+1/VR0EZcgFwfzA=; b=Y4kYAVwqkLDINAz2yfmzsAXR/4JRjIxFFC3JEMxJn3309zydJX+HPIxapt+UeHZ+k4 9MiLtJTdOjINomUUPNAPYLYVgxX0xis42Gl1Cgq4GF3ceGHkRg+uP65jHo35GfR5NsJO C7in3E46laMr5SbAaiIpsuPfXEaPSZCf8QcWB72dGFosaLwOJNBfjYCVKOr05ux4Ly2j iMgPY1nB3u9LgVvgas3a/p1gKOIDLGQ4sc7grJ2P2Q4fp/FMQH4QCqe00yriZr60LamK o19u6W8YIyxiVcmEkiz+JWOlERR2UH2Z/9uBExPsTXWWt3NY+GvdMU6MLzs7UusC7MUF tO6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789138020; x=1789742820; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=8M3qUem4dgvQjoYpprAxmEKjTGHs+1/VR0EZcgFwfzA=; b=s5pc6lNaCDEvrr2YFMvPaJ5IOSvpzZ96YiPSeyPHt53TFeYCgxBoaeCrJDRppBU2vN u7x3yWix77YDBbJHXlUgdIKG/+kjI+e2KgLLI+sfyclUD0mGnXaefG8KqXMdoBPpbMnN aQWbuhWdXQYjRSkcVRtJL3cgMrvxrzZ8B39cku/akOtpb/9qr4NO0pTjX7GQqi1bFPix ZPy2b26DURHaxE9zQuOWVrLzAGgaRtg31/san9RXophRgLHmDJrO6Uvht4a4T+3B4gQl voL5X08LJlotXSe9Z64IleHIblrdOHFJnc4LU8dRtXqtVXlR09RAY7ZiqvOdeUkZlA9h ehiQ== X-Forwarded-Encrypted: i=1; AKwUvBxOn0fUrCjgqSLTvvEHqdr2Tvy4qK3NoveD/h8CQAkEJBJQUZrSocaTqa0NLjPcDoxETpgmpqE=@lists.linux.dev X-Gm-Message-State: AFuF++mzTGaA6Z6Ka4pBBvvb7qh/WjP228EM4XqtW287HyACNR7exLU3 /Tlo4Au/UepfPKU9zaC4UGJnKMi/fTQzesVCmYtZDCDGvh3Zt02/Lhoa8BlZezk0noo= X-Gm-Gg: AYBFou0PJ+90tKeoho8KcSSPfTnIiAXVEgr5PKbJJCaGfIuz48tVJpiM32vDYY3OHhd zTz0aWutxDn4TAzUgdmCcIvZl1V61/NWTLDdUwyplm0CqROePYgxtJzSEEl6w8VWdGcV7LANyWE 3c9730vkPW91fHmi6wKSnRvFjLhd/C0mYXcJml4aia3D+zEDzaOmP+d/a3lTpmcXCHzsungs+Y+ CXl5s6z6GqY0HSPs2J6pqi+C+cxCWYxU72TR2neSbV5dj23+r48H4WsrMUQwDxPRhgiZADbalUY 8OoymszKpLTN+RMuqjdpOTkFPj/9VqzVEaBLUOTOK9WIMI7mbZwNxf7TY+7nb21/42V7QRNm+KK z0pK8IS4stxkzCBeObNyQiHIplKDbPo7wOmiT1SPWS5BVeThoajfSCwPPzVTwGTo0UbZ5YjRD3a SyPGf3gWr1tDaeNGWLg0+KCT0LhM8MuagGbNSFMnJ0hVcpFzUNZh3T68Anq3BzrtfUZ9JmRkGpn FRWvZdoiQM0vM2s X-Received: by 2002:a05:6000:1ac6:b0:486:f405:9d9 with SMTP id ffacd0b85a97d-486f4050a4fmr1699666f8f.34.1789138020208; Fri, 11 Sep 2026 07:47:00 -0700 (PDT) Received: from localhost.localdomain ([2001:af0:8000:1409:193:86:92:181]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-486eb32e8d1sm6328068f8f.11.2026.09.11.07.46.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2026 07:46:59 -0700 (PDT) From: Petr Pavlu To: Tony Luck , Borislav Petkov , Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Philipp Reisner , Lars Ellenberg , =?UTF-8?q?Christoph=20B=C3=B6hmwalder?= , Jens Axboe , Johan Hovold , Alex Elder , Greg Kroah-Hartman , "Rafael J. Wysocki" , Michal Januszewski , Helge Deller , Alexander Viro , Christian Brauner , Jan Kara , Trond Myklebust , Anna Schumaker , Chuck Lever , Jeff Layton , NeilBrown , Olga Kornievskaia , Dai Ngo , Tom Talpey , Mark Fasheh , Joel Becker , Joseph Qi , Tejun Heo , Johannes Weiner , =?UTF-8?q?Michal=20Koutn=C3=BD?= , Luis Chamberlain , Petr Pavlu , Daniel Gomez , Sami Tolvanen , Aaron Tomlin , Pavel Machek , Len Brown , Andrew Morton , Danilo Krummrich , Nikolay Aleksandrov , Ido Schimmel , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , David Howells , Jarkko Sakkinen , Paul Moore , James Morris , "Serge E. Hallyn" , Kentaro Takeda , Tetsuo Handa Cc: linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, drbd-dev@lists.linux.dev, linux-block@vger.kernel.org, greybus-dev@lists.linaro.org, linuxppc-dev@lists.ozlabs.org, linux-acpi@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org, ocfs2-devel@lists.linux.dev, cgroups@vger.kernel.org, linux-modules@vger.kernel.org, linux-pm@vger.kernel.org, driver-core@lists.linux.dev, bridge@lists.linux.dev, netdev@vger.kernel.org, keyrings@vger.kernel.org, linux-security-module@vger.kernel.org Subject: [PATCH v3 1/3] umh, treewide: Explicitly include linux/umh.h where needed Date: Fri, 11 Sep 2026 14:46:14 +0000 Message-ID: <20260911-module-include-kmod-v3-1-6ebccc3e0731@suse.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260911-module-include-kmod-v3-0-6ebccc3e0731@suse.com> References: <20260911-module-include-kmod-v3-0-6ebccc3e0731@suse.com> Precedence: bulk X-Mailing-List: bridge@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit The usermode helper declarations were previously provided by linux/kmod.h but commit c1f3fa2a4fde ("kmod: split off umh headers into its own file") moved them to linux/umh.h in 2017. Add explicit includes of linux/umh.h to files that use usermode helpers and remove linux/kmod.h where it is no longer needed. Signed-off-by: Petr Pavlu --- arch/x86/kernel/cpu/mce/dev-mcelog.c | 2 +- drivers/block/drbd/drbd_nl.c | 1 + drivers/greybus/svc_watchdog.c | 1 + drivers/macintosh/windfarm_core.c | 1 + drivers/pnp/pnpbios/core.c | 2 +- drivers/video/fbdev/uvesafb.c | 1 + fs/coredump.c | 2 +- fs/nfs/cache_lib.c | 2 +- fs/nfsd/nfs4layouts.c | 2 +- fs/nfsd/nfs4recover.c | 1 + fs/ocfs2/stackglue.c | 1 + kernel/cgroup/cgroup-v1.c | 2 +- kernel/module/kmod.c | 1 + kernel/power/process.c | 2 +- kernel/reboot.c | 2 +- kernel/umh.c | 2 +- lib/kobject_uevent.c | 2 +- net/bridge/br_stp_if.c | 2 +- security/keys/request_key.c | 2 +- security/tomoyo/common.h | 2 +- 20 files changed, 20 insertions(+), 13 deletions(-) diff --git a/arch/x86/kernel/cpu/mce/dev-mcelog.c b/arch/x86/kernel/cpu/mce/dev-mcelog.c index 053555206d81..af4e76babe7a 100644 --- a/arch/x86/kernel/cpu/mce/dev-mcelog.c +++ b/arch/x86/kernel/cpu/mce/dev-mcelog.c @@ -11,7 +11,7 @@ #include #include -#include +#include #include #include "internal.h" diff --git a/drivers/block/drbd/drbd_nl.c b/drivers/block/drbd/drbd_nl.c index b77f901fc3ef..6f5d059394b3 100644 --- a/drivers/block/drbd/drbd_nl.c +++ b/drivers/block/drbd/drbd_nl.c @@ -14,6 +14,7 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include +#include #include #include #include diff --git a/drivers/greybus/svc_watchdog.c b/drivers/greybus/svc_watchdog.c index 16e6de5e9eff..b318eb34bcca 100644 --- a/drivers/greybus/svc_watchdog.c +++ b/drivers/greybus/svc_watchdog.c @@ -7,6 +7,7 @@ #include #include +#include #include #include diff --git a/drivers/macintosh/windfarm_core.c b/drivers/macintosh/windfarm_core.c index 5307b1e34261..e66de11c69a3 100644 --- a/drivers/macintosh/windfarm_core.c +++ b/drivers/macintosh/windfarm_core.c @@ -34,6 +34,7 @@ #include #include #include +#include #include "windfarm.h" diff --git a/drivers/pnp/pnpbios/core.c b/drivers/pnp/pnpbios/core.c index f7e86ae9f72f..46af1f549337 100644 --- a/drivers/pnp/pnpbios/core.c +++ b/drivers/pnp/pnpbios/core.c @@ -47,7 +47,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/video/fbdev/uvesafb.c b/drivers/video/fbdev/uvesafb.c index ccc9dbc25813..a13dff332aef 100644 --- a/drivers/video/fbdev/uvesafb.c +++ b/drivers/video/fbdev/uvesafb.c @@ -23,6 +23,7 @@ #include #include #include +#include #include