Re: [PATCH net-next 02/11] net: hostap: fix function cast warning

2020-11-07 Thread Kalle Valo
Arnd Bergmann wrote: > From: Arnd Bergmann > > gcc -Wextra complains about the function type cast: > > drivers/net/wireless/intersil/hostap/hostap_hw.c:3173:48: warning: cast > between incompatible function types from ‘void (*)(struct tasklet_struct *)’ > to ‘void (*)(long unsigned int)’ [-W

[PATCH net-next 02/11] net: hostap: fix function cast warning

2020-10-26 Thread Arnd Bergmann
From: Arnd Bergmann gcc -Wextra complains about the function type cast: drivers/net/wireless/intersil/hostap/hostap_hw.c:3173:48: warning: cast between incompatible function types from ‘void (*)(struct tasklet_struct *)’ to ‘void (*)(long unsigned int)’ [-Wcast-function-type] Avoid this by ju