* [PATCH] 3c574_cs: Prefer unsigned int to bare use of unsigned
[not found] <tencent_C283203D2CCA281A87720665D83277B4CE0A@qq.com>
@ 2023-07-17 3:11 ` hanyu001
2023-07-17 15:05 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages 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 related [flat|nested] 2+ messages in thread
* Re: [PATCH] 3c574_cs: Prefer unsigned int to bare use of unsigned
2023-07-17 3:11 ` [PATCH] 3c574_cs: Prefer unsigned int to bare use of unsigned hanyu001
@ 2023-07-17 15:05 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2023-07-17 15:05 UTC (permalink / raw)
To: hanyu001; +Cc: davem, edumazet, kuba, pabeni, netdev
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-17 15:05 UTC | newest]
Thread overview: 2+ messages (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
2023-07-17 15:05 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).