aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2022-05-30 09:01:39 +0000
committerMasahiro Yamada <[email protected]>2022-06-04 21:20:57 +0000
commita89227d769845eb9e9ab113f9f83df34d3c91db5 (patch)
treef79b8703cafdef2814dd21f5eddf7bb9616ddec5 /scripts/mod/file2alias.c
parentmodpost: simplify mod->name allocation (diff)
downloadkernel-a89227d769845eb9e9ab113f9f83df34d3c91db5.tar.gz
kernel-a89227d769845eb9e9ab113f9f83df34d3c91db5.zip
modpost: use fnmatch() to simplify match()
Replace the own implementation for wildcard (glob) matching with a function call to fnmatch(). Also, change the return type to 'bool'. Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions