2024-06-04 13:54:14

by Dmitry Vyukov

[permalink] [raw]
Subject: [PATCH 3/4] module: Fix KCOV-ignored file name

Module.c was renamed to main.c, but the Makefile directive
was copy-pasted verbatim with the old file name.
Fix up the file name.

Signed-off-by: Dmitry Vyukov <[email protected]>
Fixes: cfc1d277891e ("module: Move all into module/")
Cc: Aaron Tomlin <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
kernel/module/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/module/Makefile b/kernel/module/Makefile
index a10b2b9a6fdf..50ffcc413b54 100644
--- a/kernel/module/Makefile
+++ b/kernel/module/Makefile
@@ -5,7 +5,7 @@

# These are called from save_stack_trace() on slub debug path,
# and produce insane amounts of uninteresting coverage.
-KCOV_INSTRUMENT_module.o := n
+KCOV_INSTRUMENT_main.o := n

obj-y += main.o
obj-y += strict_rwx.o
--
2.45.1.467.gbab1589fc0-goog



2024-06-04 15:04:37

by Alexander Potapenko

[permalink] [raw]
Subject: Re: [PATCH 3/4] module: Fix KCOV-ignored file name

On Tue, Jun 4, 2024 at 3:45 PM Dmitry Vyukov <[email protected]> wrote:
>
> Module.c was renamed to main.c, but the Makefile directive
> was copy-pasted verbatim with the old file name.
> Fix up the file name.
>
> Signed-off-by: Dmitry Vyukov <[email protected]>
> Fixes: cfc1d277891e ("module: Move all into module/")
> Cc: Aaron Tomlin <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
Reviewed-by: Alexander Potapenko <[email protected]>