From: hanyu001@208suo.com
To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] 3c574_cs: Prefer unsigned int to bare use of unsigned
Date: Mon, 17 Jul 2023 11:11:11 +0800 [thread overview]
Message-ID: <7f6fba66a5cad4486c04efe56ded5ae9@208suo.com> (raw)
In-Reply-To: <tencent_C283203D2CCA281A87720665D83277B4CE0A@qq.com>
This patch fixes the checkpatch.pl error
./drivers/net/ethernet/3com/3c574_cs.c:770: WARNING: Prefer 'unsigned
int' to bare use of 'unsigned'
Signed-off-by: maqimei <2433033762@qq.com>
---
drivers/net/ethernet/3com/3c574_cs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/3com/3c574_cs.c
b/drivers/net/ethernet/3com/3c574_cs.c
index 287af1d..6f5c9db 100644
--- a/drivers/net/ethernet/3com/3c574_cs.c
+++ b/drivers/net/ethernet/3com/3c574_cs.c
@@ -767,7 +767,7 @@ static irqreturn_t el3_interrupt(int irq, void
*dev_id)
struct net_device *dev = (struct net_device *) dev_id;
struct el3_private *lp = netdev_priv(dev);
unsigned int ioaddr;
- unsigned status;
+ unsigned int status;
int work_budget = max_interrupt_work;
int handled = 0;
parent reply other threads:[~2023-07-17 3:11 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <tencent_C283203D2CCA281A87720665D83277B4CE0A@qq.com>]
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=7f6fba66a5cad4486c04efe56ded5ae9@208suo.com \
--to=hanyu001@208suo.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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®