All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] octeontx2-pf: Remove unneeded semicolon
@ 2020-04-24  9:13 Zheng Bin
  2020-04-26  3:36 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Zheng Bin @ 2020-04-24  9:13 UTC (permalink / raw)
  To: sgoutham, gakula, sbhatta, hkelam, davem, netdev; +Cc: zhengbin13

Fixes coccicheck warning:

drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:312:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
---
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
index 018c283a0ac4..0b1c653b3449 100644
--- a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
+++ b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
@@ -309,7 +309,7 @@ static inline void __iomem *otx2_get_regaddr(struct otx2_nic *nic, u64 offset)
 	default:
 		blkaddr = BLKADDR_RVUM;
 		break;
-	};
+	}

 	offset &= ~(RVU_FUNC_BLKADDR_MASK << RVU_FUNC_BLKADDR_SHIFT);
 	offset |= (blkaddr << RVU_FUNC_BLKADDR_SHIFT);
--
2.26.0.106.g9fadedd


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] octeontx2-pf: Remove unneeded semicolon
  2020-04-24  9:13 [PATCH -next] octeontx2-pf: Remove unneeded semicolon Zheng Bin
@ 2020-04-26  3:36 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-04-26  3:36 UTC (permalink / raw)
  To: zhengbin13; +Cc: sgoutham, gakula, sbhatta, hkelam, netdev

From: Zheng Bin <zhengbin13@huawei.com>
Date: Fri, 24 Apr 2020 17:13:35 +0800

> Fixes coccicheck warning:
> 
> drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:312:2-3: Unneeded semicolon
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zheng Bin <zhengbin13@huawei.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-26  3:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24  9:13 [PATCH -next] octeontx2-pf: Remove unneeded semicolon Zheng Bin
2020-04-26  3:36 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.