Skip to content
Commit a89227d7 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 8c9ce89c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment