modpost: file2alias: check prototype of handler
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 22 Nov 2018 04:28:42 +0000 (13:28 +0900)
committerDanny Wood <danwood76@gmail.com>
Thu, 28 Jan 2021 10:29:13 +0000 (10:29 +0000)
commit03c1a2e24762c77c2bcea6237ac611dddf0b9789
treedb5a12a58659665caca4a3c044935825c139de85
parent44565e2adcf5789816b581577257a1b00fd404cb
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>
Change-Id: I522d2ef030c5a98fc06c3b9c93c7be34b750d037
scripts/mod/file2alias.c