From: Andrew Lunn <andrew@lunn.ch>
To: Ashwin Gundarapu <linuxuser509@zohomail.in>
Cc: "anthony.l.nguyen@intel.com" <przemyslaw.kitszel@intel.com>,
andrewnetdev <andrew+netdev@lunn.ch>, davem <davem@davemloft.net>,
edumazet <edumazet@google.com>, kuba <kuba@kernel.org>,
pabeni <pabeni@redhat.com>,
intel-wired-lan <intel-wired-lan@lists.osuosl.org>,
netdev <netdev@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH net-next] net: e100: replace silent 'hope for the best' with debug message
Date: Thu, 21 May 2026 14:24:18 +0200 [thread overview]
Message-ID: <db588334-0871-4b83-a020-da8f621816d5@lunn.ch> (raw)
In-Reply-To: <19e49280392.4757403170773.5767589851918809405@zohomail.in>
On Thu, May 21, 2026 at 11:40:19AM +0530, Ashwin Gundarapu wrote:
> From: Ashwin Gundarapu <linuxuser509@zohomail.in>
> Date: Sun, 10 May 2026 15:09:12 +0530
> Subject: [PATCH] net: e100: replace silent 'hope for the best' with debug
> message
>
> Replace a silent return with a debug message when no MII PHY is
> detected on known variants. This gives users visibility into the
> failure instead of silently hoping for the best.
>
> Found by checkpatch.pl inspection.
Please make sure you really do compile test your changes.
Also, look at the history of a driver. How old is e100? I guess this
driver has been around 20 years? If this was an issue, somebody would
of fixed it 15 years ago? 10 years ago?
Please consider checkpatch as a tool which says there _might_ be an
issue at this line of code, not there _is_ an issue at this line of
code. You need to look at it, think about it, consider all the ways
checkpatch could be wrong, and only once you have convinced yourself
checkpatch is correct, fix it.
Andrew
---
pw-bot: cr
next prev parent reply other threads:[~2026-05-21 12:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-21 6:10 Ashwin Gundarapu
2026-05-21 12:07 ` kernel test robot
2026-05-21 12:24 ` Andrew Lunn [this message]
2026-05-21 12:28 ` Maxime Chevallier
2026-05-21 13:16 ` kernel test robot
2026-05-22 7:09 ` kernel test robot
2026-05-22 7:48 ` [Intel-wired-lan] " Loktionov, Aleksandr
2026-05-22 21:52 ` kernel test robot
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=db588334-0871-4b83-a020-da8f621816d5@lunn.ch \
--to=andrew@lunn.ch \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxuser509@zohomail.in \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=przemyslaw.kitszel@intel.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
all inboxes | Powered by JetHome®