Re: [PATCH 1/5] perf: Add dummy pmu module

From: Lucas De Marchi
Date: Tue Oct 15 2024 - 00:23:45 EST


On Mon, Oct 14, 2024 at 05:26:19PM -0700, Jeff Johnson wrote:
On 10/8/24 11:34, Lucas De Marchi wrote:
...
+module_init(dummy_init);
+module_exit(dummy_exit);
+
+MODULE_AUTHOR("Lucas De Marchi <lucas.demarchi@xxxxxxxxx>");
+MODULE_LICENSE("GPL");

Since commit 1fffe7a34c89 ("script: modpost: emit a warning when the
description is missing"), a module without a MODULE_DESCRIPTION() will
result in a warning when built with make W=1. Recently, multiple
developers have been eradicating these warnings treewide, and very few
(if any) are left, so please don't introduce a new one :)

Please add the missing MODULE_DESCRIPTION()

Thanks. This patch is not intended to be applied - it serves only to
demonstrate the issue solved by the other patches. But I will keep that
in mind if I re-submit it.

Lucas De Marchi