]> www.infradead.org Git - users/dwmw2/linux.git/commit
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:34:41 +0000 (09:34 +0200)
commit2cf247d6b2da21c44cd4ae6be999cbb75cdf97ca
tree8d5ab27edfcf92920fd2c341e18992123f49fc1d
parent897c6d2979a144cfb8b8ec6dc9e17855b3799617
modpost: file2alias: check prototype of handler

commit f880eea68fe593342fa6e09be9bb661f3c297aec upstream.

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