fjpanag commented on code in PR #8943: URL: https://github.com/apache/nuttx/pull/8943#discussion_r1157130474
########## arch/arm/src/stm32/stm32_eth.c: ########## @@ -2027,17 +2027,13 @@ static void stm32_interrupt_work(void *arg) stm32_putreg(ETH_DMAINT_NIS, STM32_ETH_DMASR); } - /* Handle error interrupt only if CONFIG_DEBUG_NET is eanbled */ - -#ifdef CONFIG_DEBUG_NET - - /* Check if there are pending "anormal" interrupts */ + /* Check if there are pending "abnormal" interrupts */ if ((dmasr & ETH_DMAINT_AIS) != 0) { /* Just let the user know what happened */ - nerr("ERROR: Abormal event(s): %08x\n", dmasr); + nerr("ERROR: Abormal event(s): %08x\n", (unsigned)dmasr); Review Comment: Correct. Fixing it now. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org