]> git.baikalelectronics.ru Git - kernel.git/commit
modpost: use fnmatch() to simplify match()
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 30 May 2022 09:01:39 +0000 (18:01 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 4 Jun 2022 21:20:57 +0000 (06:20 +0900)
commit6421f19d113a474688800ccf66d78905fa403147
treef79b8703cafdef2814dd21f5eddf7bb9616ddec5
parentd9ef1e4a33cfd69ee98d665c987f1a0c9a99c032
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 <masahiroy@kernel.org>
scripts/mod/modpost.c