From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 2DFA942CAF5 for ; Thu, 6 Aug 2026 09:11:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786007505; cv=none; b=ozQyod1y/FF0fGCC0bI3dX3P79P/xnGlKqzWs/XKCToToWNz3pMm2f1iO/uZEM9K0WvCy5mZJ8ihN4zPLygmLwgMTfo/PEIouhgLwJRVTGOVCMjSGES0M/Q/rm/C2C2tVJZ46y//+PbQUkCQnoQYVheiVIPFsXjdO0s8YuzrzpU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786007505; c=relaxed/simple; bh=8QZMv6e8VZWNSTLr+L7myB6tWqGtrtUDOO5QTM4uNAc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Wtf+yZmEQcmxgIfNtZEfTXucLgG7V6u9UbDcetbcL6C5JpuZTXMRXh7Ry1QP6B7xAIJ/vE/aLlyN8d0e5llJA+qKaye4CLUbUnHzvJT05f6eUxN/DyQuuddCTJ53XDs4YelziA2xSQRntqMjEvRnmCksygOwEZb4QgzJpyQNZ20= 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=dlQUf9Qv; arc=none smtp.client-ip=209.85.128.48 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="dlQUf9Qv" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4954aff6088so19520955e9.3 for ; Thu, 06 Aug 2026 02:11:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1786007500; x=1786612300; darn=vger.kernel.org; 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=a05UMz3w4bXA+1T0LMtqVZav3+vL6BphXj7PWM3R9OM=; b=dlQUf9QvktP2lXiJDddwFHp/haTf2Oc1BI6vDnYU6MIpREJeO1AaWaJpzMSYKEyd6m 5YytYUlTY48NOFqm8LsubJqmYvoLwnNPKjcQcSR06a/+YBAaUqW8uqv/b7XJnOksocIo EbjH14pyFSNtLQMnSpEVk/pYu0ank/cN2rmfUL7gl+6Cf7a43CSh+tE/jXwwYg7TMS7V TpM4zuQyjve4TYYn57t8BDmYAItFUzAXJ3SVv+JW4bqB2srEmU2D3OSEneOvcyQKEAMV nhoeNpagODSwTGK0qGcir7Y7355xnrmKNKTtltFTUN+DsfxN3Gs2WkELU86C+rw+d4Sn ePJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786007500; x=1786612300; 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=a05UMz3w4bXA+1T0LMtqVZav3+vL6BphXj7PWM3R9OM=; b=D/yYo/wRAL0gq9fTnJx6nTAQIfgdfS5FJVecvt9qUaVI9xob51atKg+G6pQUVjU7Aq KEwQ5lE5qd037NzQPODUvKEFXrcfoTqMPlFifUv/mw/wGUAsrYynL6yEk28ZUnbWmVkt GBb3B6CIZjQt0osf4wyPTNX7K60c+9Z3eukq8qTZm/XIktJKGk5ae2vbJwZQJBv1kjrl l5gQSMEUwT15zUYafjeEUAb5xDGAT1sPQDjuxP2FWqhRD3lV/hl0bqGRTFJJQ6BrjGil WUzayNwbD0cWOtx/AlVS/s1GVm127cEcDH5HQwMeDtoRULue8AmgfykVS4qu4JJGE6k8 PjSA== X-Forwarded-Encrypted: i=1; AHgh+RqesWocbM76Z/kX4arkozNagNEaNx+H8ZPnClwD5s98FkJh2Kqj/4TIQZqsvtqsNCMSyTi9VwtafNdlYyQ=@vger.kernel.org X-Gm-Message-State: AOJu0YzStMAnk7FePux5d9jBfCtXyDUWJjYC1zRuxokGY8aAMUiNRx3l TF0FzKtp7IJO4F1SMF1zFCDlm+FdamHGCTEeTjtguOXKMApF9olBNA7ZbgQEWjLVKwM= X-Gm-Gg: AR+sD13M31FfFaNl1U3LPAnzAGYgcURFBBcBoSxBtuj3tRLySjNgbP/PrscrUoOgDyH 9F4j009qzk+sKFcBWBoY9wBdfZd8Aucpeoa+xkgLyouANEcRduuzP1peAx+YJC/cUes4eIIiOzz vnXdPVagaAtbBHNbjYlt1/MysJhyyKV3s+mqZanv1uXSBJxadLkDa99ZnfTOyDPLyJn04ZBa0ed erIG5UgaY91jqb24jBnkkE9rIeZaQgJoinr+ivLkJHLVH6xIyMbnmiag/68nzXMSo9c442jHM0p X7kzWU9bQ0A9b9oM9u5GpZPAOG+wVzf0RC7xPPXkV6JFlxnwppxRjobtzZA1eeYLZU4Eyg1q/pR ympRURHdaUyP+w+koNi3dAgaK/N54Kh19BK+hOIT6D7eI3TpJdjBTRz6Gsn56FSpBm8iNjcb1hL ouyCKe9kKTKtS8HJSNibTUUmcnj1xguSV5hRSFAAYnb0sfne1LmzQ5RxJA X-Received: by 2002:a05:600c:c8c:b0:496:c18c:f9a3 with SMTP id 5b1f17b1804b1-4994e79dc76mr151198445e9.5.1786007500018; Thu, 06 Aug 2026 02:11:40 -0700 (PDT) Received: from zovi.suse.cz ([2001:af0:8000:1409:193:86:92:181]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4994e4c32e0sm93157095e9.0.2026.08.06.02.11.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Aug 2026 02:11:39 -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 v3 6/6] module/dups: Clean up includes Date: Thu, 6 Aug 2026 11:10:20 +0200 Message-ID: <20260806-module-stats-rcu-v3-6-2b0331106f00@suse.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260806-module-stats-rcu-v3-0-2b0331106f00@suse.com> References: <20260806-module-stats-rcu-v3-0-2b0331106f00@suse.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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, * DEFINE_FREE(), __free(), 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 fa3a4e623543..c9be9df6a65d 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.55.0