diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-03 00:58:09 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-19 18:20:40 +0900 |
commit | 40bab83a6595b3ab8afcfdb57903470f64fdbdb9 (patch) | |
tree | 0ea85368b87904cf70a55d1fb95476b76d99c931 /scripts/kconfig/expr.h | |
parent | 1d7c4f10baacbc658918f7ddec31e1d1962df6fc (diff) | |
download | lwn-40bab83a6595b3ab8afcfdb57903470f64fdbdb9.tar.gz lwn-40bab83a6595b3ab8afcfdb57903470f64fdbdb9.zip |
kconfig: associate struct menu with file name directly
struct menu is linked to struct file for diagnostic purposes.
It is always used to retrieve the file name through menu->file->name.
Associate struct menu with the file name directly.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/expr.h')
-rw-r--r-- | scripts/kconfig/expr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h index e0d866569155..e8fc85d98cdd 100644 --- a/scripts/kconfig/expr.h +++ b/scripts/kconfig/expr.h @@ -256,7 +256,7 @@ struct menu { char *help; /* The location where the menu node appears in the Kconfig files */ - struct file *file; + const char *filename; int lineno; /* For use by front ends that need to store auxiliary data */ |