This is an automated email from the ASF dual-hosted git repository. aguettouche 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 497e2f9 arch: tiva: Fix lm3s_ethernet.c with DEBUGASSERT 497e2f9 is described below commit 497e2f9e0c1536c9b120d8aae2d0c08d47a3ba1d Author: Masayuki Ishikawa <masayuki.ishik...@gmail.com> AuthorDate: Sat Jan 16 11:48:21 2021 +0900 arch: tiva: Fix lm3s_ethernet.c with DEBUGASSERT Summary: - This commit fixes DEBUGASSERT in lm3s_ethernet.c Impact: - lm3s_ethernet.c only Testing: - Tested with lm3s6965-ek:discover with QEMU Signed-off-by: Masayuki Ishikawa <masayuki.ishik...@jp.sony.com> --- arch/arm/src/tiva/lm/lm3s_ethernet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/tiva/lm/lm3s_ethernet.c b/arch/arm/src/tiva/lm/lm3s_ethernet.c index dde9eaa..8453173 100644 --- a/arch/arm/src/tiva/lm/lm3s_ethernet.c +++ b/arch/arm/src/tiva/lm/lm3s_ethernet.c @@ -641,7 +641,7 @@ static int tiva_txpoll(struct net_driver_s *dev) ninfo("Poll result: d_len=%d\n", priv->ld_dev.d_len); if (priv->ld_dev.d_len > 0) { - DEBUGASSERT(!!(tiva_ethin(priv, TIVA_MAC_TR_OFFSET) & MAC_TR_NEWTX)); + DEBUGASSERT(!(tiva_ethin(priv, TIVA_MAC_TR_OFFSET) & MAC_TR_NEWTX)); /* Look up the destination MAC address and add it to the Ethernet * header.