On Mon, 10 Feb 2025 09:50:15 +0800 Bingbin Chen <chen.bing...@zte.com.cn> wrote:
> +#define ZXDH_COMM_CHECK_POINT_MEMORY_FREE2PTR(point, ptr0, ptr1)\ > +do {\ > + if ((point) == NULL) {\ > + PMD_DRV_LOG(ERR, " ZXDH %s:%d[Error:POINT NULL] ! FUNCTION"\ > + ": %s!", __FILE__, __LINE__, __func__);\ > + rte_free(ptr0);\ > + rte_free(ptr1);\ > + RTE_ASSERT(0);\ Again, PMD_DRV_LOG already puts function name in, and making louder by SCREAMING UPPER CASE won't fix the problem