Skip to contentSkip to conversation

staging: rtl8723bs: xmit: fix grammar in comment

PATCH In review Akiyoshi Kurita 2 participants 4 messages Sep 17, 2025 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8723bs: xmit: fix grammar in comment

Fix 'number of page' -> 'number of pages' in a comment.

---
 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c +1 -1
index 842e19b53421..7ba8981f4652 100644
@@ -76,7 +76,7 @@ static s32 rtl8723_dequeue_writeport(struct adapter *padapter)
 	/*  check if hardware tx fifo page is enough */
 	if (!rtw_hal_sdio_query_tx_freepage(pri_padapter, PageIdx, pxmitbuf->pg_num)) {
 		if (!bUpdatePageNum) {
-			/*  Total number of page is NOT available, so update current FIFO status */
+			/*  Total number of pages is NOT available, so update current FIFO status */
 			HalQueryTxBufferStatus8723BSdio(padapter);
 			bUpdatePageNum = true;
 			goto query_free_page;
Signature · 1 line
2.47.3
maintainer
#1 lore raw
Quoted 12 lines · Akiyoshi Kurita

Fix 'number of page' -> 'number of pages' in a comment.

---
 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c +0 -0
index 842e19b53421..7ba8981f4652 100644

drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c static s32 rtl8723_dequeue_writeport(struct adapter *padapter) · line 79

Quoted 5 lines
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c +1 -1
@@ -76,7 +76,7 @@ static s32 rtl8723_dequeue_writeport(struct adapter *padapter)
 	/*  check if hardware tx fifo page is enough */
 	if (!rtw_hal_sdio_query_tx_freepage(pri_padapter, PageIdx, pxmitbuf->pg_num)) {
 		if (!bUpdatePageNum) {
-			/*  Total number of page is NOT available, so update current FIFO status */
+			/*  Total number of pages is NOT available, so update current FIFO status */

As "pages" is now plural, shouldn't "is" become "are"?

Also, you can drop the extra leading space in the comment.

thanks,

greg "english grammer is rough" k-h

#2 lore raw

Thanks, Greg.

Sorry for the off-list reply; resending to the lists.
You're right about the extra space; I dropped it. To avoid the "number of" confusion I rephrased the sentence to "Total page count is not available, so update current FIFO status." Sent as v2.

Best,
Akiyoshi

2025-09-17 14:52 に Greg KH さんは書きました:

Quoted 30 lines · Akiyoshi Kurita
Quoted 20 lines

Fix 'number of page' -> 'number of pages' in a comment.

---
 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c +0 -1
index 842e19b53421..7ba8981f4652 100644
@@ -76,7 +76,7 @@ static s32 rtl8723_dequeue_writeport(struct adapter 
 *padapter)
 	/*  check if hardware tx fifo page is enough */
 	if (!rtw_hal_sdio_query_tx_freepage(pri_padapter, PageIdx, 
 pxmitbuf->pg_num)) {
 		if (!bUpdatePageNum) {
-			/*  Total number of page is NOT available, so update current FIFO 

status */

drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c +1 -0
+			/*  Total number of pages is NOT available, so update current FIFO 
Quoted 1 line

status */

As "pages" is now plural, shouldn't "is" become "are"?

Also, you can drop the extra leading space in the comment.

thanks,

greg "english grammer is rough" k-h

#3 lore raw

PATCH v2 1/1 staging: rtl8723bs: xmit: rephrase comment and drop extra space

In reply to Akiyoshi Kurita

Rephrase the comment to avoid the "number of" construction and remove an extra leading space.

---
 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c +1 -1
index 842e19b53421..abb6fdfe7e1f 100644
@@ -76,7 +76,7 @@ static s32 rtl8723_dequeue_writeport(struct adapter *padapter)
 	/*  check if hardware tx fifo page is enough */
 	if (!rtw_hal_sdio_query_tx_freepage(pri_padapter, PageIdx, pxmitbuf->pg_num)) {
 		if (!bUpdatePageNum) {
-			/*  Total number of page is NOT available, so update current FIFO status */
+			/* Total page count is not available, so update current FIFO status */
 			HalQueryTxBufferStatus8723BSdio(padapter);
 			bUpdatePageNum = true;
 			goto query_free_page;
Signature · 1 line
2.47.3