mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Phong Tran <tranmanphong@gmail.com>
To: davem@davemloft.net, keescook@chromium.org
Cc: kvalo@codeaurora.org, saeedm@mellanox.com,
	jeffrey.t.kirsher@intel.com, luciano.coelho@intel.com,
	netdev@vger.kernel.org, linux-wireless@vger.kernel.org,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	Phong Tran <tranmanphong@gmail.com>
Subject: [PATCH 0/5] Fix -Wcast-function-type net drivers
Date: Sun, 24 Nov 2019 16:43:01 +0700	[thread overview]
Message-ID: <20191124094306.21297-1-tranmanphong@gmail.com> (raw)

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


             reply	other threads:[~2019-11-24  9:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-24  9:43 Phong Tran [this message]
2019-11-24  9:43 ` [PATCH 1/5] drivers: net: hso: Fix -Wcast-function-type Phong Tran
2019-11-24  9:43 ` [PATCH 2/5] drivers: net: usbnet: " Phong Tran
2019-11-24  9:43 ` [PATCH 3/5] drivers: net: b43legacy: " Phong Tran
2019-11-25 18:30   ` Larry Finger
2019-11-24  9:43 ` [PATCH 4/5] drivers: net: intel: " Phong Tran
2019-11-24  9:43 ` [PATCH 5/5] drivers: net: realtek: " Phong Tran
2019-11-24 22:39 ` [PATCH 0/5] Fix -Wcast-function-type net drivers Jakub Kicinski
2019-11-25 15:06   ` Phong Tran
2019-11-25 17:04     ` Jakub Kicinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191124094306.21297-1-tranmanphong@gmail.com \
    --to=tranmanphong@gmail.com \
    --cc=davem@davemloft.net \
    --cc=jeffrey.t.kirsher@intel.com \
    --cc=keescook@chromium.org \
    --cc=kvalo@codeaurora.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=luciano.coelho@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=saeedm@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome