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 |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Guessing tree name failed - patch did not apply |
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 --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;
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(-)