From: Michal Kubecek <mkubecek@suse.cz>
To: netdev@vger.kernel.org
Subject: [PATCH ethtool 0/7] compiler warnings cleanup, part 1
Date: Mon, 3 Aug 2020 13:57:03 +0200 (CEST) [thread overview]
Message-ID: <cover.1596451857.git.mkubecek@suse.cz> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2151 bytes --]
Maciej Żenczykowski recently cleaned up many "unused parameter" compiler
warnings but some new occurences appeared since (mostly in netlink code).
This series gets rid of all currently found "unused parameter" warnings and
also one zero length array access warning (gcc10). There are still some
compiler warnings left (signed/unsigned comparison and missing struct field
initializers); these will be handled in next cycle as the fixes are more
intrusive.
This series should not affect resulting code; checked by comparing
resulting binary against unpatched source.
Michal Kubecek (7):
rename maybe_unused macro to __maybe_unused
cable_test: clean up unused parameters
igc: mark unused callback parameter
netlink: mark unused callback parameter
netlink: mark unused parameters of bitset walker callbacks
netlink: mark unused parameters of parser callbacks
ioctl: avoid zero length array warning in get_stringset()
amd8111e.c | 2 +-
at76c50x-usb.c | 2 +-
de2104x.c | 4 ++--
dsa.c | 2 +-
e100.c | 2 +-
e1000.c | 2 +-
et131x.c | 2 +-
ethtool.c | 10 ++++++----
fec.c | 2 +-
fec_8xx.c | 2 +-
fjes.c | 2 +-
ibm_emac.c | 2 +-
igb.c | 2 +-
igc.c | 3 ++-
internal.h | 2 +-
ixgb.c | 2 +-
ixgbe.c | 2 +-
ixgbevf.c | 2 +-
lan78xx.c | 2 +-
marvell.c | 4 ++--
natsemi.c | 4 ++--
netlink/cable_test.c | 21 ++++++++-------------
netlink/netlink.c | 2 +-
netlink/parser.c | 28 ++++++++++++++++------------
netlink/pause.c | 3 ++-
netlink/privflags.c | 2 +-
netlink/settings.c | 9 ++++++---
netlink/tsinfo.c | 2 +-
realtek.c | 2 +-
sfc.c | 3 ++-
smsc911x.c | 2 +-
stmmac.c | 4 ++--
tg3.c | 4 ++--
tse.c | 2 +-
vioc.c | 2 +-
vmxnet3.c | 2 +-
36 files changed, 76 insertions(+), 69 deletions(-)
--
2.28.0
next reply other threads:[~2020-08-03 11:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-03 11:57 Michal Kubecek [this message]
2020-08-03 11:57 ` [PATCH ethtool 1/7] rename maybe_unused macro to __maybe_unused Michal Kubecek
2020-08-03 11:57 ` [PATCH ethtool 2/7] cable_test: clean up unused parameters Michal Kubecek
2020-08-03 23:59 ` Andrew Lunn
2020-08-03 11:57 ` [PATCH ethtool 3/7] igc: mark unused callback parameter Michal Kubecek
2020-08-03 11:57 ` [PATCH ethtool 4/7] netlink: " Michal Kubecek
2020-08-03 11:57 ` [PATCH ethtool 5/7] netlink: mark unused parameters of bitset walker callbacks Michal Kubecek
2020-08-03 11:57 ` [PATCH ethtool 6/7] netlink: mark unused parameters of parser callbacks Michal Kubecek
2020-08-03 11:57 ` [PATCH ethtool 7/7] ioctl: avoid zero length array warning in get_stringset() Michal Kubecek
2020-08-03 13:31 ` [PATCH ethtool 0/7] compiler warnings cleanup, part 1 Andrew Lunn
2020-08-03 13:53 ` Michal Kubecek
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=cover.1596451857.git.mkubecek@suse.cz \
--to=mkubecek@suse.cz \
--cc=netdev@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).