diff mbox series

[net-next] net: stmmac: fix typo in comment

Message ID 20240221103514.968815-1-siyanteng@loongson.cn (mailing list archive)
State Superseded
Delegated to: Netdev Maintainers
Headers show
Series [net-next] net: stmmac: fix typo in comment | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 940 this patch: 940
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers fail 1 blamed authors not CCed: peppe.cavallaro@st.com; 7 maintainers not CCed: mcoquelin.stm32@gmail.com pabeni@redhat.com linux-stm32@st-md-mailman.stormreply.com linux-arm-kernel@lists.infradead.org kuba@kernel.org peppe.cavallaro@st.com edumazet@google.com
netdev/build_clang success Errors and warnings before: 957 this patch: 957
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success Fixes tag looks correct
netdev/build_allmodconfig_warn success Errors and warnings before: 957 this patch: 957
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2024-02-23--03-00 (tests: 1457)

Commit Message

Yanteng Si Feb. 21, 2024, 10:35 a.m. UTC
This is just a trivial fix for a typo in a comment, no functional
changes.

Fixes: 48863ce5940f ("stmmac: add DMA support for GMAC 4.xx")
Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
---
In fact, it was discovered during the review of the Loongson
driver patch.:)

 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Serge Semin Feb. 21, 2024, 12:33 p.m. UTC | #1
Hi Yanteng

On Wed, Feb 21, 2024 at 06:35:14PM +0800, Yanteng Si wrote:
> This is just a trivial fix for a typo in a comment, no functional
> changes.
> 
> Fixes: 48863ce5940f ("stmmac: add DMA support for GMAC 4.xx")
> Signed-off-by: Yanteng Si <siyanteng@loongson.cn>

Thanks for submitting the patch.
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>

-Serge(y)

> ---
> In fact, it was discovered during the review of the Loongson
> driver patch.:)
> 
>  drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h b/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h
> index 358e7dcb6a9a..9d640ba5c323 100644
> --- a/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h
> +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h
> @@ -92,7 +92,7 @@
>  #define DMA_TBS_FTOV			BIT(0)
>  #define DMA_TBS_DEF_FTOS		(DMA_TBS_FTOS | DMA_TBS_FTOV)
>  
> -/* Following DMA defines are chanels oriented */
> +/* Following DMA defines are channels oriented */
>  #define DMA_CHAN_BASE_ADDR		0x00001100
>  #define DMA_CHAN_BASE_OFFSET		0x80
>  
> -- 
> 2.31.4
>
Jakub Kicinski Feb. 23, 2024, 3:12 a.m. UTC | #2
On Wed, 21 Feb 2024 18:35:14 +0800 Yanteng Si wrote:
> This is just a trivial fix for a typo in a comment, no functional
> changes.
> 
> Fixes: 48863ce5940f ("stmmac: add DMA support for GMAC 4.xx")

Fixes is reserved for functional bugs, let's leave it out
for a typo correction.

> diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h b/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h
> index 358e7dcb6a9a..9d640ba5c323 100644
> --- a/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h
> +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h
> @@ -92,7 +92,7 @@
>  #define DMA_TBS_FTOV			BIT(0)
>  #define DMA_TBS_DEF_FTOS		(DMA_TBS_FTOS | DMA_TBS_FTOV)
>  
> -/* Following DMA defines are chanels oriented */
> +/* Following DMA defines are channels oriented */

I'm not a native speaker but I'd spell it "... are channel-oriented"
With a hyphen, channel not channels.

>  #define DMA_CHAN_BASE_ADDR		0x00001100
>  #define DMA_CHAN_BASE_OFFSET		0x80
>
Yanteng Si Feb. 28, 2024, 10:45 a.m. UTC | #3
在 2024/2/23 11:12, Jakub Kicinski 写道:
> On Wed, 21 Feb 2024 18:35:14 +0800 Yanteng Si wrote:
>> This is just a trivial fix for a typo in a comment, no functional
>> changes.
>>
>> Fixes: 48863ce5940f ("stmmac: add DMA support for GMAC 4.xx")
> Fixes is reserved for functional bugs, let's leave it out
> for a typo correction.

OK!

I will remove it.

Thanks,

Yanteng

>> diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h b/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h
>> index 358e7dcb6a9a..9d640ba5c323 100644
>> --- a/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h
>> +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h
>> @@ -92,7 +92,7 @@
>>   #define DMA_TBS_FTOV			BIT(0)
>>   #define DMA_TBS_DEF_FTOS		(DMA_TBS_FTOS | DMA_TBS_FTOV)
>>   
>> -/* Following DMA defines are chanels oriented */
>> +/* Following DMA defines are channels oriented */
> I'm not a native speaker but I'd spell it "... are channel-oriented"
> With a hyphen, channel not channels.
>
>>   #define DMA_CHAN_BASE_ADDR		0x00001100
>>   #define DMA_CHAN_BASE_OFFSET		0x80
>>
Yanteng Si Feb. 28, 2024, 11:19 a.m. UTC | #4
在 2024/2/23 11:12, Jakub Kicinski 写道:
> On Wed, 21 Feb 2024 18:35:14 +0800 Yanteng Si wrote:
>> This is just a trivial fix for a typo in a comment, no functional
>> changes.
>>
>> Fixes: 48863ce5940f ("stmmac: add DMA support for GMAC 4.xx")
> Fixes is reserved for functional bugs, let's leave it out
> for a typo correction.
>
>> diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h b/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h
>> index 358e7dcb6a9a..9d640ba5c323 100644
>> --- a/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h
>> +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h
>> @@ -92,7 +92,7 @@
>>   #define DMA_TBS_FTOV			BIT(0)
>>   #define DMA_TBS_DEF_FTOS		(DMA_TBS_FTOS | DMA_TBS_FTOV)
>>   
>> -/* Following DMA defines are chanels oriented */
>> +/* Following DMA defines are channels oriented */
> I'm not a native speaker but I'd spell it "... are channel-oriented"
> With a hyphen, channel not channels.

OK.


Thanks,

Yanteng

>>   #define DMA_CHAN_BASE_ADDR		0x00001100
>>   #define DMA_CHAN_BASE_OFFSET		0x80
>>
diff mbox series

Patch

diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h b/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h
index 358e7dcb6a9a..9d640ba5c323 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h
@@ -92,7 +92,7 @@ 
 #define DMA_TBS_FTOV			BIT(0)
 #define DMA_TBS_DEF_FTOS		(DMA_TBS_FTOS | DMA_TBS_FTOV)
 
-/* Following DMA defines are chanels oriented */
+/* Following DMA defines are channels oriented */
 #define DMA_CHAN_BASE_ADDR		0x00001100
 #define DMA_CHAN_BASE_OFFSET		0x80