Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Mauro Carvalho Chehab and committed by
Jonathan Corbet
47c2d416 f9cdbc57

+3 -1
+3 -1
scripts/lib/kdoc/kdoc_files.py
··· 250 250 if not filenames: 251 251 filenames = sorted(self.results.keys()) 252 252 253 + glob = GlobSourceFiles(srctree=self.config.src_tree) 254 + 253 255 for fname in filenames: 254 256 function_table = set() 255 257 ··· 259 257 if not export_file: 260 258 export_file = [fname] 261 259 262 - for f in export_file: 260 + for f in glob.parse_files(export_file, self.file_not_found_cb): 263 261 function_table |= self.export_table[f] 264 262 265 263 if symbol: