lkml.org 
[lkml]   [2019]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] Fix -Wcast-function-type net drivers
Date
This series is for fixing the compiler warning while enable
-Wcast-function-type.

Almost is incompatible callback prototype in using tasklet.
The void (*func)(unsigned long) instead of void (*func)(struct foo*).

Reported by: https://github.com/KSPP/linux/issues/20

Phong Tran (5):
drivers: net: hso: Fix -Wcast-function-type
drivers: net: usbnet: Fix -Wcast-function-type
drivers: net: b43legacy: Fix -Wcast-function-type
drivers: net: intel: Fix -Wcast-function-type
drivers: net: realtek: Fix -Wcast-function-type

drivers/net/usb/hso.c | 5 +++--
drivers/net/usb/usbnet.c | 8 +++++++-
drivers/net/wireless/broadcom/b43legacy/main.c | 5 +++--
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 +++--
drivers/net/wireless/realtek/rtlwifi/pci.c | 10 ++++++----
8 files changed, 32 insertions(+), 18 deletions(-)

--
2.20.1

\
 
 \ /
  Last update: 2019-11-24 10:43    [W:0.064 / U:1.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site