b43legacy: Fix -Wcast-function-type
authorPhong Tran <tranmanphong@gmail.com>
Tue, 26 Nov 2019 17:55:26 +0000 (00:55 +0700)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 18 Dec 2019 18:54:41 +0000 (20:54 +0200)
commit475eec112e4267232d10f4afe2f939a241692b6c
tree3997bbd351ebe22c9aa50dcad8439deaf86c8432
parent37bc6c72f5b76f3c6ae00e3001d3187100fbeb1b
b43legacy: Fix -Wcast-function-type

correct usage prototype of callback in tasklet_init().
Report by https://github.com/KSPP/linux/issues/20

Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Phong Tran <tranmanphong@gmail.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/b43legacy/main.c