module: pass struct find_symbol_args to find_symbol
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Jan 2021 13:58:27 +0000 (14:58 +0100)
committerJessica Yu <jeyu@kernel.org>
Mon, 8 Feb 2021 11:25:19 +0000 (12:25 +0100)
commit0b96615cdc091bcef9a48daa455b93631f196dea
tree7e4240083d092b8cd2b109cc8d2c8e55116b8d90
parent71e4b309dc4238cba84d144b19004543c76c37e9
module: pass struct find_symbol_args to find_symbol

Simplify the calling convention by passing the find_symbol_args structure
to find_symbol instead of initializing it inside the function.

Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
kernel/module.c