]> 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)
commitda5f857a8c02636950187625191f260d920765dc
treef79b8703cafdef2814dd21f5eddf7bb9616ddec5
parentfe16c57ad96520d966143a667a2f4ce43dcbe448
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