3c574_cs: Prefer unsigned int to bare use of unsigned
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
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'
Signed-off-by maqimei <[email protected]>
--- drivers/net/ethernet/3com/3c574_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/3com/3c574_cs.c +1 -1
@@ -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 ;
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'Signed-off-by maqimei <[email protected]>
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.