From: David Miller <davem@davemloft.net>
To: fthain@telegraphics.com.au
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH RESEND net 0/9] Fixes, cleanup and modernization for some legacy ethernet NIC drivers
Date: Tue, 03 Oct 2017 21:41:21 -0700 (PDT) [thread overview]
Message-ID: <20171003.214121.339749620339054592.davem@davemloft.net> (raw)
In-Reply-To: <cover.1506992619.git.fthain@telegraphics.com.au>
From: Finn Thain <fthain@telegraphics.com.au>
Date: Mon, 2 Oct 2017 21:07:17 -0400 (EDT)
> This patch series fixes some logging bugs and adds some missing message
> severity levels.
>
> There are also cleanup patches for dead code and some Kconfig cruft.
>
> Custom debug message logging is converted to netif_* calls to reduce
> code duplication.
>
> All up, about 150 lines of code are eliminated.
>
> My apologies for duplicated messages. I messed up the addressing.
Finn, I'm finding real bugs in this series and seriously if you cannot
test these changes in some way please leave this code alone.
For example, you're removing the "once_is_enough" logic from
mac89x0_probe().
But you can't do that. The probe function can in fact be called
multiple times, from drivers/net/Space.c It gets called in a loop
iterating over different 'unit' argument values.
Unless you're making stylistic changes where you can prove the object
code resulting is still the same, you really should not be playing
with fire by trying to remove "dead code" like this in legacy drivers
you cannot fully test.
Thank you.
next prev parent reply other threads:[~2017-10-04 4:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-03 1:07 [PATCH RESEND net 0/9] Fixes, cleanup and modernization for some legacy ethernet NIC drivers Finn Thain
2017-10-03 1:07 ` [PATCH RESEND net 6/9] net/sonic: Cleanup and modernize log messages Finn Thain
2017-10-03 1:07 ` [PATCH RESEND net 5/9] net/macmace: Fix and cleanup " Finn Thain
2017-10-03 1:07 ` [PATCH RESEND net 4/9] net/mac89x0: Replace custom debug logging with netif_* calls Finn Thain
2017-10-03 1:07 ` [PATCH RESEND net 8/9] net/8390: Fix redundant code Finn Thain
2017-10-03 1:07 ` [PATCH RESEND net 1/9] net/smc9194: Remove bogus CONFIG_MAC reference Finn Thain
2017-10-03 1:07 ` [PATCH RESEND net 3/9] net/mac89x0: Fix and modernize log messages Finn Thain
2017-10-03 1:07 ` [PATCH RESEND net 2/9] net/mac89x0: Remove dead or unreachable code Finn Thain
2017-10-03 1:07 ` [PATCH RESEND net 9/9] net/mac8390: Fix log messages Finn Thain
2017-10-03 1:07 ` [PATCH RESEND net 7/9] net/sonic: Replace custom debug logging with netif_* calls Finn Thain
2017-10-04 4:41 ` David Miller [this message]
2017-10-04 6:16 ` [PATCH RESEND net 0/9] Fixes, cleanup and modernization for some legacy ethernet NIC drivers Finn Thain
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=20171003.214121.339749620339054592.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=fthain@telegraphics.com.au \
--cc=linux-kernel@vger.kernel.org \
--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).