modpost: file2alias: check prototype of handler
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 22 Nov 2018 04:28:42 +0000 (13:28 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 1 Dec 2018 13:21:58 +0000 (22:21 +0900)
commitf880eea68fe593342fa6e09be9bb661f3c297aec
treee7c4d4a1e6b68b124929566e2615cac89924f123
parentec91e78d378cc5d4b43805a1227d8e04e5dfa17d
modpost: file2alias: check prototype of handler

Use specific prototype instead of an opaque pointer so that the
compiler can catch function prototype mismatch.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Mathieu Malaterre <malat@debian.org>
scripts/mod/file2alias.c