* [PATCH] staging: rtl8723bs: xmit: fix grammar in comment
@ 2025-09-17 5:39 Akiyoshi Kurita
2025-09-17 5:52 ` Greg KH
2025-09-17 6:37 ` [PATCH v2] staging: rtl8723bs: xmit: rephrase comment and drop extra space Akiyoshi Kurita
0 siblings, 2 replies; 4+ messages in thread
From: Akiyoshi Kurita @ 2025-09-17 5:39 UTC (permalink / raw)
To: gregkh; +Cc: linux-staging, linux-kernel, Akiyoshi Kurita
Fix 'number of page' -> 'number of pages' in a comment.
Signed-off-by: Akiyoshi Kurita <weibu@redadmin.org>
---
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
index 842e19b53421..7ba8981f4652 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
@@ -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;
--
2.47.3
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] staging: rtl8723bs: xmit: fix grammar in comment
2025-09-17 5:39 [PATCH] staging: rtl8723bs: xmit: fix grammar in comment Akiyoshi Kurita
@ 2025-09-17 5:52 ` Greg KH
2025-09-17 6:23 ` weibu
2025-09-17 6:37 ` [PATCH v2] staging: rtl8723bs: xmit: rephrase comment and drop extra space Akiyoshi Kurita
1 sibling, 1 reply; 4+ messages in thread
From: Greg KH @ 2025-09-17 5:52 UTC (permalink / raw)
To: Akiyoshi Kurita; +Cc: linux-staging, linux-kernel
On Wed, Sep 17, 2025 at 02:39:44PM +0900, Akiyoshi Kurita wrote:
> Fix 'number of page' -> 'number of pages' in a comment.
>
> Signed-off-by: Akiyoshi Kurita <weibu@redadmin.org>
> ---
> drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
> index 842e19b53421..7ba8981f4652 100644
> --- a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
> +++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
> @@ -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
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] staging: rtl8723bs: xmit: fix grammar in comment
2025-09-17 5:52 ` Greg KH
@ 2025-09-17 6:23 ` weibu
0 siblings, 0 replies; 4+ messages in thread
From: weibu @ 2025-09-17 6:23 UTC (permalink / raw)
To: Greg KH; +Cc: linux-staging, linux-kernel
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 さんは書きました:
> On Wed, Sep 17, 2025 at 02:39:44PM +0900, Akiyoshi Kurita wrote:
>> Fix 'number of page' -> 'number of pages' in a comment.
>>
>> Signed-off-by: Akiyoshi Kurita <weibu@redadmin.org>
>> ---
>> drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
>> b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
>> index 842e19b53421..7ba8981f4652 100644
>> --- a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
>> +++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
>> @@ -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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2] staging: rtl8723bs: xmit: rephrase comment and drop extra space
2025-09-17 5:39 [PATCH] staging: rtl8723bs: xmit: fix grammar in comment Akiyoshi Kurita
2025-09-17 5:52 ` Greg KH
@ 2025-09-17 6:37 ` Akiyoshi Kurita
1 sibling, 0 replies; 4+ messages in thread
From: Akiyoshi Kurita @ 2025-09-17 6:37 UTC (permalink / raw)
To: gregkh; +Cc: linux-staging, linux-kernel, Akiyoshi Kurita
Rephrase the comment to avoid the "number of" construction and remove
an extra leading space.
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Akiyoshi Kurita <weibu@redadmin.org>
---
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
index 842e19b53421..abb6fdfe7e1f 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
@@ -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;
--
2.47.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-09-17 6:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-17 5:39 [PATCH] staging: rtl8723bs: xmit: fix grammar in comment Akiyoshi Kurita
2025-09-17 5:52 ` Greg KH
2025-09-17 6:23 ` weibu
2025-09-17 6:37 ` [PATCH v2] staging: rtl8723bs: xmit: rephrase comment and drop extra space Akiyoshi Kurita
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox