From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (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 1A6F5349CFE for ; Tue, 21 Jul 2026 13:12:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784639569; cv=none; b=T9M7JmcV4BWSb8pJUS4Po9mtnPvE79DTcoUhFi50dZhA5wGRE/ofmeuy6Nv37qB2nAR4qHGGgkMkk1ub57wFrOcdPMtt3OZtBH1HjsyAd55KVBzLH7SvVGjaSNyeSrjtLY1fbZzei24fOp+GJKLG55DaheKf61I9Li9Mw/x2ZD4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784639569; c=relaxed/simple; bh=fiT5St2Z30ofp3OH5iVd8OJXjJ4QD0Rozv3/47Awp8w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iRTuVfF4c85goZbQ67hfU2btcGzjryssg8eZ8iJKHv/TsLT2c7erXJ6aAPSFWCcWyO0OMsWLwbccsduBlUyQ4buliY6Q75LLCZPGOY2mzJ4mN+pEKC2ZYRHWRLiTbaLEpJ8UCLdkWIOvrZ+iGMRKNDk2Vr4NJ86XcOE5fQIrwno= 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=Vgr2RR7r; arc=none smtp.client-ip=209.85.221.46 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="Vgr2RR7r" Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-475417f010dso6413110f8f.2 for ; Tue, 21 Jul 2026 06:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1784639561; x=1785244361; darn=vger.kernel.org; h=content-transfer-encoding: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=ioETa9ajAjgthSRn8XVUlWgrnejtF100jjMdi1lWaeQ=; b=Vgr2RR7rNt9Uv3yO4LcjLy3QIOgoSB79CSQ5+oZeq2K+ScFxo2qvhwPTsN2BuxD2+L pS7Apv4ZxGKpePfs1Zkw8pJJhyLifTNJdGuzGPgNWvk6xfaAawaMSYzZOD44+2nSVKJQ g1HKPbWrJ3DjBQQDplc0xd7wS14yodFgMd/VwUQfRnxWpFpnMQDjAhkdPzHawXPcBGDh XOBJAu8oiG7/hokpsW0MRHEQFk9i6DvUoM0pshi+4UcV1A4z927lGdZI+MGdHT7Ymby2 +C5y85z5+l/9Wmr/SFTXvO6uYmUKbk7owqyZUoAXY2zycQNOgDisLfBgvVLrU22J6ahu cSIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784639561; x=1785244361; h=content-transfer-encoding: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=ioETa9ajAjgthSRn8XVUlWgrnejtF100jjMdi1lWaeQ=; b=NTlXKmeZc4K/i3qPp/L0Ecu5wttx+yEYU8eqahP8kuQIrsYkur/CZMahRbaEsRZiIQ ky8WjShRirZjgQESe5B0OU3oKnlMeWhBlrWIVVb1ckME1Ty84FUCKo2AswALx9TtsjVT 9yGPrfn3GQtxqeGdAMyMHQUWbc1aFlB96j67RV22VXrrnlIxQDsowmTE7/BXLA0ePDok fDreG+iscpxxCjGAIs1TVoKggmwvPp6l1YSk+yHC4Y8ixX5SgvF5IqM1x2qBEy2GtU7M Kjlzsz5vndHIoUXIbgwlMRm0QEDcBapolagPem/+7E8utw6dIv7LagghDRUYa5aYgWf4 kjLQ== X-Forwarded-Encrypted: i=1; AHgh+Ro8QGlq9UEMAxwGCvXaH+04491DVdBPWMF/VPswvwOXdrrXmsC7hdtI9q/fgJnlSYsYFkDaDbVXDfHcD1z9@vger.kernel.org X-Gm-Message-State: AOJu0YyahS50+2/aeMHQ+SF71+qmeMpON7KumzquVR5mRAZkvunMnXes E6LwMKoAzYbDaAflkMjBITXJbfsYwUf9ZaCXGhIAixV7JMrCzRJ3XpGcQmeFCFxiXMA= X-Gm-Gg: AR+sD104c0t3F4Aq8B5aovVLqzMb5NU8JbzamEZ5zMeC6Sp8ShoVzFN41sNZ2cQWtmv LDCZP4w1SS6PzQ3V/XlArpBMMRZ0L88S8gT2mxiXjKcQEhXLuotZ0GB1JLCoyJAR/HBPBezgiYO wucFHhHHEGqrhQIVJDyfzvWztrOs8AtBp6itAHvlL+Tdckj6XhWS9ZJ0LawrcaHWxZIbCeUh97b B6JuAm6+DFVEGPbO1VgVisV/8LHCOvoSpGHhdAhB8uUwgmU2A0EGHfaknCkXXx64yEJkvyHH4LF vu7cUuO1siTEELd+ff0jHf+NwJST/lM/sXMC94a1iaVDx0WbLwYRzqYJfVLybRvLB8N/PTo+Wu8 aFiev3wE3nmqQPzr9Aesw94hjS1TjnDJ87cKrBameEJQmRsEgHEakSxrdaCqYdbmL41wozpQtig == X-Received: by 2002:a05:6000:604:b0:47f:8389:3477 with SMTP id ffacd0b85a97d-47f838934d0mr784345f8f.48.1784639560942; Tue, 21 Jul 2026 06:12:40 -0700 (PDT) Received: from zovi.suse.cz ([2001:af0:8000:1409:193:86:92:181]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47f63ee9281sm42070938f8f.36.2026.07.21.06.12.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2026 06:12:40 -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 v2 1/3] umh, treewide: Explicitly include linux/umh.h where needed Date: Tue, 21 Jul 2026 15:11:25 +0200 Message-ID: <20260721131207.803760-2-petr.pavlu@suse.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260721131207.803760-1-petr.pavlu@suse.com> References: <20260721131207.803760-1-petr.pavlu@suse.com> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 f9ffcd67607b..de90cf4a0789 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 9d82326c744f..6c503e6914d6 100644 --- a/drivers/video/fbdev/uvesafb.c +++ b/drivers/video/fbdev/uvesafb.c @@ -23,6 +23,7 @@ #include #include #include +#include #include