staging: rtl8723bs: xmit: fix grammar in comment
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
@@ -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
Greg KH
maintainerQuoted 12 lines · Akiyoshi Kurita
Fix 'number of page' -> 'number of pages' in a comment.
Signed-off-by Akiyoshi Kurita <[email protected]>--- drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c +0
-0
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
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.
Signed-off-by Akiyoshi Kurita <[email protected]>--- drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c +0
-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 */
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
PATCH v2 1/1 staging: rtl8723bs: xmit: rephrase comment and drop extra space
In reply to Akiyoshi KuritaRephrase 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
@@ -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