modpost: file2alias: check prototype of handler
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 22 Nov 2018 04:28:42 +0000 (13:28 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Apr 2019 07:36:39 +0000 (09:36 +0200)
commit7de43cb71116ab13adaf1f57a72edb6757ca57d0
tree9ad31aa7653810000e925df920d0a8dc6dd3e057
parentaa0e8cc9d7a89bb0c23435ec1b62eac46b1f4984
modpost: file2alias: check prototype of handler

[ Upstream commit f880eea68fe593342fa6e09be9bb661f3c297aec ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
scripts/mod/file2alias.c