Skip to contentSkip to conversation

3c574_cs: Prefer unsigned int to bare use of unsigned

PATCH In review [email protected] 2 participants 2 messages Jul 17, 2023 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 3c574_cs: Prefer unsigned int to bare use of unsigned

This patch fixes the checkpatch.pl error

./drivers/net/ethernet/3com/3c574_cs.c:770: WARNING: Prefer 'unsigned int' to bare use of 'unsigned'

---
 drivers/net/ethernet/3com/3c574_cs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/3com/3c574_cs.c +1 -1
index 287af1d..6f5c9db 100644
@@ -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;
#2 lore raw
Quoted 6 lines · On Mon, 17 Jul 2023 11:11:11 +0800 [email protected] 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'

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.