.gitignore | 1 + 1 file changed, 1 insertion(+)
LKP reported warnings [1] regarding files being ignored:
tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files
tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files
tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files
These warnings can be reproduced by compiling the kernel with the W=1 option.
Although these files are tracked by Git and the warnings are false
positives, adjusting the .gitignore entries will prevent these warnings and
ensure a smoother script execution.
[1] https://lore.kernel.org/linux-kselftest/202411251308.Vjm5MzVC-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index 56972adb5031..6c57bb0259c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -128,6 +128,7 @@ series
# ctags files
tags
+!tags/
TAGS
# cscope files
--
2.44.0
On Mon, Nov 25, 2024 at 5:37 PM Li Zhijian <lizhijian@fujitsu.com> wrote:
>
> LKP reported warnings [1] regarding files being ignored:
What I meant in the previous reply is LKP is unrelated
because "make W=1" is enough to reproduce these warnings.
Applied to linux-kbuild with the following simplified commit log.
W=1 builds reported warnings regarding files being ignored:
[ snip ]
Although these files are tracked by Git and the warnings are false
Thanks.
> tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files
> tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files
> tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files
>
> These warnings can be reproduced by compiling the kernel with the W=1 option.
> Although these files are tracked by Git and the warnings are false
> positives, adjusting the .gitignore entries will prevent these warnings and
> ensure a smoother script execution.
>
> [1] https://lore.kernel.org/linux-kselftest/202411251308.Vjm5MzVC-lkp@intel.com/
>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
> ---
> .gitignore | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/.gitignore b/.gitignore
> index 56972adb5031..6c57bb0259c6 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -128,6 +128,7 @@ series
>
> # ctags files
> tags
> +!tags/
> TAGS
>
> # cscope files
> --
> 2.44.0
>
--
Best Regards
Masahiro Yamada
© 2016 - 2026 Red Hat, Inc.