]> git.ipfire.org Git - thirdparty/kernel/stable.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:35:39 +0000 (09:35 +0200)
commit10bd1c7ad3894bb9bf2a6d2f3669b5b674f1e59e
tree0749d74710c468b1379df6cff6f715e037718f48
parent1a7fe5cb7a04ebc00cc282bb227bb8b78f52138b
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