summaryrefslogtreecommitdiff
path: root/scripts/kconfig/qconf.cc
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-02-02 18:58:09 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2024-02-19 12:20:40 +0300
commit40bab83a6595b3ab8afcfdb57903470f64fdbdb9 (patch)
tree0ea85368b87904cf70a55d1fb95476b76d99c931 /scripts/kconfig/qconf.cc
parent1d7c4f10baacbc658918f7ddec31e1d1962df6fc (diff)
downloadlinux-40bab83a6595b3ab8afcfdb57903470f64fdbdb9.tar.xz
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/qconf.cc')
-rw-r--r--scripts/kconfig/qconf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index 620a3527c767..c6c42c0f4e5d 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -1058,7 +1058,7 @@ void ConfigInfoView::menuInfo(void)
stream << "<br><br>";
}
- stream << "defined at " << _menu->file->name << ":"
+ stream << "defined at " << _menu->filename << ":"
<< _menu->lineno << "<br><br>";
}
}