iwlegacy: Fix -Wcast-function-type
authorPhong Tran <tranmanphong@gmail.com>
Tue, 26 Nov 2019 17:55:28 +0000 (00:55 +0700)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 18 Dec 2019 18:54:43 +0000 (20:54 +0200)
commitda5e57e8a6a3e69dac2937ba63fa86355628fbb2
tree204ab51479a6f91955fa69ffc56b4278a1bbe0d0
parentebd77feb27e91bb5fe35a7818b7c13ea7435fb98
iwlegacy: Fix -Wcast-function-type

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

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/intel/iwlegacy/3945-mac.c
drivers/net/wireless/intel/iwlegacy/4965-mac.c