Skip to contentSkip to conversation

staging: qlge: fix comment style in qlge_main.c

PATCH New Du Cheng 1 participant 1 message Feb 16, 2021

Subsystems (3)
lore
Share & tools
lore

Du Cheng

author
#0 lore raw

PATCH v5 1/1 staging: qlge: fix comment style in qlge_main.c

fix the closing of a one-line block comment,
marked incorrect by scripts/checkpatch.pl.

---
changes v5:
- improve description

changes v4:
- move "changes" after triple-tiret

changes v3:
- add SUBSYSTEM in subject line
- add explanation to past version of this patch

changes v2:
- move closing of comment to the same line

changes v1:
- align * in block comments

 drivers/staging/qlge/qlge_main.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/qlge/qlge_main.c +1 -2
index 5516be3af898..2682a0e474bd 100644
@@ -3815,8 +3815,7 @@ static int qlge_adapter_down(struct qlge_adapter *qdev)
 
 	qlge_tx_ring_clean(qdev);
 
-	/* Call netif_napi_del() from common point.
-	*/
+	/* Call netif_napi_del() from common point. */
 	for (i = 0; i < qdev->rss_ring_count; i++)
 		netif_napi_del(&qdev->rx_ring[i].napi);
 
Signature · 1 line
2.27.0