diff mbox series

3c574_cs: Prefer unsigned int to bare use of unsigned

Message ID 7f6fba66a5cad4486c04efe56ded5ae9@208suo.com (mailing list archive)
State Rejected
Delegated to: Netdev Maintainers
Headers show
Series 3c574_cs: Prefer unsigned int to bare use of unsigned | expand

Checks

Context Check Description
netdev/tree_selection success Guessing tree name failed - patch did not apply

Commit Message

hanyu001@208suo.com July 17, 2023, 3:11 a.m. UTC
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(-)

Comments

Stephen Hemminger July 17, 2023, 3:05 p.m. UTC | #1
On Mon, 17 Jul 2023 11:11:11 +0800
hanyu001@208suo.com wrote:

> 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>

Patches that just derived from checkpatch fixes are not accepted in netdev.
Didn't you already hear that from the maintainers.
Repeating with more patches will just get you blacklisted.
diff mbox series

Patch

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;