Skip to contentSkip to conversation

staging: qlge: fix comment style in qlge_main.c

PATCH Superseded Du Cheng 2 participants 2 messages Feb 16, 2021

Subsystems (3)

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Du Cheng

author
#0 lore raw

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

align * in block comments on each line

This series of patches is for Task 10 of the Eudyptula Challenge

---
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
#1 lore raw
Quoted 1 line · Du Cheng

align * in block comments on each line

That says _what_ you did, not _why_ you did it.

And "each line"? You only did this once.

Quoted 1 line

This series of patches is for Task 10 of the Eudyptula Challenge

This isn't a "series" of patches, it is a single patch. And no one cares about why you are doing this, this text isn't needed at all.

thanks,

greg k-h