mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 3c574_cs: Prefer unsigned int to bare use of unsigned
       [not found] <tencent_C283203D2CCA281A87720665D83277B4CE0A@qq.com>
@ 2023-07-17  3:11 ` hanyu001
  0 siblings, 0 replies; only message in thread
From: hanyu001 @ 2023-07-17  3:11 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni; +Cc: netdev, linux-kernel

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-17  3:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <tencent_C283203D2CCA281A87720665D83277B4CE0A@qq.com>
2023-07-17  3:11 ` [PATCH] 3c574_cs: Prefer unsigned int to bare use of unsigned hanyu001

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®