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

From: Larry Finger
Date: Mon Nov 25 2019 - 12:30:52 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/intel/ipw2x00/ipw2100.c | 7 ++++---
drivers/net/wireless/intel/ipw2x00/ipw2200.c | 5 +++--
drivers/net/wireless/intel/iwlegacy/3945-mac.c | 5 +++--
drivers/net/wireless/intel/iwlegacy/4965-mac.c | 5 +++--
4 files changed, 13 insertions(+), 9 deletions(-)

This patch is "fixing" three different drivers and should be split into at least two parts. To be consistent with previous practices, the subject for the two should be "intel: ipw2100: ...." and "intel: iwlegacy: ...."

Larry