You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/03/12 03:30:20 UTC

[incubator-nuttx] branch master updated: arch: imx6: Fix an error message in imx_enet.c

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 9aaa406  arch: imx6: Fix an error message in imx_enet.c
9aaa406 is described below

commit 9aaa4068c1bb26ab3a9199adabc194b474cdcaa5
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Fri Mar 12 09:59:13 2021 +0900

    arch: imx6: Fix an error message in imx_enet.c
    
    Summary:
    - This commit fixes an error message in imx_enet.c
    
    Impact:
    - None
    
    Testing:
    - Build only
    
    Suggested-by: David Sidrane <Da...@NscDg.com>
    Signed-off-by: Masayuki Ishikawa <Ma...@jp.sony.com>
---
 arch/arm/src/imx6/imx_enet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/src/imx6/imx_enet.c b/arch/arm/src/imx6/imx_enet.c
index 4de8c6c..59e7119 100644
--- a/arch/arm/src/imx6/imx_enet.c
+++ b/arch/arm/src/imx6/imx_enet.c
@@ -103,7 +103,7 @@
 #endif
 
 #if !defined (CONFIG_NET_TCP_WRITE_BUFFERS) && (CONFIG_IMX_ENET_NTXBUFFERS != 1)
-#  error "CONFIG_IMX_ENET_NTXBUFFERS must be 1 without TCP_WRITE_BUFFERS"
+#  error "TCP_WRITE_BUFFERS are disabled. CONFIG_IMX_ENET_NTXBUFFERS must be set to 1"
 #endif
 
 #if CONFIG_IMX_ENET_NRXBUFFERS < 1