mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-07 18:40:10 +00:00
scripts:kdoc_files.py: use glob for export_file seek
As filenames are expanded using kernel-doc glob, just in case, use it also when checking for exported symbols. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/21657afdd4f8effe0752a5ec258d74b8a4101f55.1744685912.git.mchehab+huawei@kernel.org
This commit is contained in:
committed by
Jonathan Corbet
parent
f9cdbc5781
commit
47c2d4168b
@@ -250,6 +250,8 @@ class KernelFiles():
|
||||
if not filenames:
|
||||
filenames = sorted(self.results.keys())
|
||||
|
||||
glob = GlobSourceFiles(srctree=self.config.src_tree)
|
||||
|
||||
for fname in filenames:
|
||||
function_table = set()
|
||||
|
||||
@@ -257,7 +259,7 @@ class KernelFiles():
|
||||
if not export_file:
|
||||
export_file = [fname]
|
||||
|
||||
for f in export_file:
|
||||
for f in glob.parse_files(export_file, self.file_not_found_cb):
|
||||
function_table |= self.export_table[f]
|
||||
|
||||
if symbol:
|
||||
|
||||
Reference in New Issue
Block a user