From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 6690F41228C for ; Mon, 20 Jul 2026 12:16:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784549812; cv=none; b=AiQVhkYiI1QXgmz0JVK4Bp8Qg/qe63D555Hzbzf1BS+RMOqGriS+LEgyjSM/n+csOMrLefyjAVugVVLw6V+42XZ5tzO1FdaF0sQRP8EkRrxfEnicca0OjCVE6mTQD5eGx/5+92BbNb+tMTrmZU5Yt42mjnUiWQBSBLJc866p710= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784549812; c=relaxed/simple; bh=ZXEpkDFwL/rwUncoDs+qBTzK5HHyoQoZwmumdWwaDWE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hrx25OqULwPfqHfjGbRf+/qcejgui15VOj9xcW6kYoyEYpnqRWYx36qw3oolPI8/pseY0oto9NGIafh6f7LocxL2t51INo84rwIICr1nrfhvMtmcuZLWYDA6yjsYgZuBV8SyzzzIXJMIn/7a7XDdpNaIeWsDDW0VyOOn/sWlCm4= 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=MbKJID2t; arc=none smtp.client-ip=209.85.221.50 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="MbKJID2t" Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-4728c12ba97so4989194f8f.0 for ; Mon, 20 Jul 2026 05:16:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1784549804; x=1785154604; 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=E7C+l5bQ28x2ipnVvxZPG22FlExKRkr9Lej+PmmTvr4=; b=MbKJID2t6kp6fMk1nfH1mKZhbmDfLKhUEb6GG86Jbf90QrJmKXWN3N6jNxMqo9YTFU voeYawsMc0TQuUDJq1XJjuLPQt9uMoBAGdA5hqA0C33CdWY0PYyER9EvWEdoXZRhxBdE KnCjKlS4sUAQfvsQIpkLyHrc95++wqhzrtn285V9C+ANh7BLsh8nixQlN3ldPtMbYc8k rkMd7zaGcow9U4t0nRcgy7IYCBpi2gz8bDHRtiJ43X2pNOCs0ArWSeLnicIOsq574HWf nRuVzik/G2jZLd3Mr2cOD+UBxWnv+OpOz+UF6E+uHMNguoZZ+02TJP4WDGvWqjMMxDEy 1j1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784549804; x=1785154604; 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=E7C+l5bQ28x2ipnVvxZPG22FlExKRkr9Lej+PmmTvr4=; b=QG2eqwa61wKeOVE5qRrf/f0o3rw2YkmR3T7VlqgPCDbGVdF9zSDYsFpFvQrC3kwhc7 N4Y+j2+rXIRW7f33TIz2JXzJbqu/Fq0bSzLRdEjPaZT63K7J1b5e7pxFPbdI8j2lnovz o6fV4W0L0YsmB4oZasRHFYHXOzzTk6QaCSd4BF01MyzVLV25m+hEOzUDPUsAK4ItO7O2 sNPWOowv6mfpSKT5LV9gBWwmXr52PDSwsoVhumMkjFWWPKPWskc23ZBPEZn+EsjAPAJv 9zqJEp/rl7axq7jTtHBPgNj74f9/INhQJFpDpw+Tszox6/dp5NAI00eWQx5QuKZ6JouA kNRQ== X-Forwarded-Encrypted: i=1; AHgh+RrPxlHPbV73MvnvPXpy8Xon1/hrcxmtDYrTjLK41wU+K2icW075nzTs8p9xuoRb5jWykuTFT6Soi2feqQM=@vger.kernel.org X-Gm-Message-State: AOJu0YxKwwslCjPRGwS/e170DH5K6Ip0jGtJOwky1uby/vpnMUmnl+js G1d7X1IkzCgiJLzVk/31RZnuwPFFKbXrzShpiOuaFxCSDxwnTgcKmK/xsvrvefiJd6I= X-Gm-Gg: AR+sD10Hh/bHIEwasy+Fg7eBcNW58bG0TEjobNNTdvfEdBAtMpxLHwxRMBAIZY99R74 a77mgWyZh3oxZ3KC8ClxprpFixe9A3HMXEOCN8YnN99XU/bvtEv9cKMKZuXJnAvBtkJqPP9wwN3 Qn9+N8NFxGOhv4tpDrqbNvrQClP0HMvrztbuipHU2EEhyysUrfjItnm2HxCBiYLgGBngvqIlF93 cyVSeiN/6ml8yp4lz3YKT7sKZuIXLg4sh9YiVDkvDui1ZGPo9jY+hWcID8kADksgOc75FBoCLuw qB6lFqZCGLHMNw1g256v5mg8Y/egi6qMkYLnNgh7WJaQh1KgVVRMwMTSOUuvVDxuidzcy9meLOd 9WM8tl9gXJRNj14KiTOcJ9chrv0DcJRh3R6w48+4BYZvxBtOI+XIEiYczMGsTU63ubhLZgXiKtw == X-Received: by 2002:a05:6000:2907:b0:470:a7d8:75f5 with SMTP id ffacd0b85a97d-47f6233d406mr15982775f8f.42.1784549804129; Mon, 20 Jul 2026 05:16:44 -0700 (PDT) Received: from zovi.suse.cz ([2001:af0:8000:1409:193:86:92:181]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47f63ed1911sm31424338f8f.22.2026.07.20.05.16.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2026 05:16:43 -0700 (PDT) From: Petr Pavlu To: Luis Chamberlain , Petr Pavlu , Daniel Gomez , Sami Tolvanen Cc: Aaron Tomlin , linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] module/dups: Clean up includes Date: Mon, 20 Jul 2026 14:15:30 +0200 Message-ID: <20260720121621.750661-6-petr.pavlu@suse.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260720121621.750661-1-petr.pavlu@suse.com> References: <20260720121621.750661-1-petr.pavlu@suse.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The kernel/module/dups.c file relies on the following definitions and associated functions: * module_param() -> linux/moduleparam.h, * DEFINE_MUTEX() -> linux/mutex.h, * LIST_HEAD(), list_for_each_entry(), ... -> linux/list.h, * refcount_t, refcount_inc(), ... -> linux/refcount.h, * MODULE_NAME_LEN -> linux/module.h, * completion, complete_all(), ... -> linux/completion.h, * delayed_work, work_struct, ... -> linux/workqueue.h, * lockdep_assert_held() -> linux/lockdep.h, * strcmp(), memcpy() -> linux/string.h, * container_of() -> linux/container_of.h, * scoped_guard() -> linux/cleanup.h, * kzalloc_obj(), kfree() -> linux/slab.h, * pr_debug(), pr_warn() -> linux/printk.h, * WARN() -> linux/bug.h, * TASK_KILLABLE -> linux/sched.h, * HZ -> linux/param.h. Update the file's include list accordingly. Signed-off-by: Petr Pavlu --- kernel/module/dups.c | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/kernel/module/dups.c b/kernel/module/dups.c index 43cec4cec4fd..76faa662f14d 100644 --- a/kernel/module/dups.c +++ b/kernel/module/dups.c @@ -7,30 +7,22 @@ #define pr_fmt(fmt) "module: " fmt +#include +#include +#include +#include +#include +#include #include +#include +#include +#include +#include +#include #include -#include -#include -#include -#include -#include #include -#include -#include -#include +#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include "internal.h" -- 2.54.0