From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8EFD4283FCF for ; Mon, 4 May 2026 07:00:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777878009; cv=none; b=FEr5g9mfT5LInWHVXs1W4TeS4KsXn+EDdjXi1UlMytPK/FCTAbNUCTVauShfI9RONOnh+frFQQriarEFz+U0pGF5Gsc6CAS1susFcYqY5ZqMrZbnimX7BMpJOJ6vhKfoW9RfdW1O/635+Q2TijVTVpeT6vknw7XHyCb367obfMY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777878009; c=relaxed/simple; bh=HYE+2VXomDM5alKWkGo/zugLFJRNpUaW/PT9zTrCdW0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Dhhyq+Cgpu6WbXca6nKDs10Utgy9GxrTCR+Ih/mp7jkEAbZ5uO3HMixArx7UWmJeR9wjyiTC2C0lT844XOjSHdf5X9AFAIs1RAePNT9P0qf0uwZPOgYCkvIjiUrVMFbmcfjJje9H+eoL91ead8v/EcRpBrdabv4w98NZCPjYnUM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HgWnepWU; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HgWnepWU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C23EC2BCC9; Mon, 4 May 2026 07:00:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1777878009; bh=HYE+2VXomDM5alKWkGo/zugLFJRNpUaW/PT9zTrCdW0=; h=From:To:Cc:Subject:Date:From; b=HgWnepWUeIz0CCNkXwC7eHebgLU5wI2fbwVtCUditlMSUphZp8wbqiuACSxqgE4A0 /x0jVKOPCSfhN0JOHPHF/ywRivDdHqfE9+Uhyf3an1+dBtEIFZA+c2nSRGhBrzfZAl nRgU6IvXAU0acGWgpc1OUnZ2Yh/PIW+CcReh2QZIty0OjB/0webTUH9mUpsvChkWwV foFXiiAjGcHkAAIJo7tVdmoYPrOJs/wKYmhYlb7QnDTenx/C6wcbv8If06kDMqt29i K1Ulem0E/BNjdv0jm0I/kILCE4Ufpl+FQxJ9Qh6C23n/f2VRswacN/Wr6nvzkzpzkT Lnk9fS7/770SQ== From: Arnd Bergmann To: Russell King Cc: Jeff Johnson , Randy Dunlap , Arnd Bergmann , Kees Cook , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: kprobes: test: add MODULE_DESCRIPTION Date: Mon, 4 May 2026 08:59:46 +0200 Message-Id: <20260504065957.2040055-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Arnd Bergmann All loadable modules must have a description, and since commit 6c6c1fc09de3 ("modpost: require a MODULE_DESCRIPTION()"), the kernel build warns about it missing: WARNING: modpost: missing MODULE_DESCRIPTION() in arch/arm/probes/kprobes/test-kprobes.o Add the missing description tags. Noticing that the existing license tag is unnecessarily hidden in an #ifdef section, remove the #ifdef and use conventional placing of the initcall and module_exit tags as well as the license and description. Signed-off-by: Arnd Bergmann --- arch/arm/probes/kprobes/test-core.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/arch/arm/probes/kprobes/test-core.c b/arch/arm/probes/kprobes/test-core.c index 7a2baa135f0f..2de28088dac8 100644 --- a/arch/arm/probes/kprobes/test-core.c +++ b/arch/arm/probes/kprobes/test-core.c @@ -1649,24 +1649,16 @@ static int __init run_all_tests(void) return ret; } - +late_initcall(run_all_tests); /* * Module setup */ -#ifdef MODULE - static void __exit kprobe_test_exit(void) { } - -module_init(run_all_tests) module_exit(kprobe_test_exit) -MODULE_LICENSE("GPL"); -#else /* !MODULE */ - -late_initcall(run_all_tests); - -#endif +MODULE_DESCRIPTION("Test code for ARM kprobes"); +MODULE_LICENSE("GPL"); -- 2.39.5