Re: [PATCH 3/3] drivers: net: realtek: Fix -Wcast-function-type

From: Larry Finger
Date: Mon Nov 25 2019 - 12:33:08 EST


On 11/25/19 9:02 AM, Phong Tran wrote:
correct usage prototype of callback in tasklet_init().
Report by https://github.com/KSPP/linux/issues/20

Signed-off-by: Phong Tran <tranmanphong@xxxxxxxxx>
---
drivers/net/wireless/realtek/rtlwifi/pci.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)


I have not yet tested this patch, but it looks to be OK; however, for consistency, the subject should be "rtlwifi: ....".

Larry