[dpdk-dev] [PATCH] sched: fix build with debug enabled
Thomas Monjalon
thomas at monjalon.net
Sun Nov 7 18:50:23 CET 2021
07/11/2021 17:30, Ali Alnubani:
> Compare pkt_len to 0 instead of NULL to avoid the following build
> failure with debug mode enabled:
> ../lib/sched/rte_pie.h: In function 'rte_pie_enqueue_empty':
> ../lib/sched/rte_pie.h:125:21: error: comparison between pointer
> and integer [-Werror]
> RTE_ASSERT(pkt_len != NULL);
>
> Bugzilla ID: 878
> Fixes: 44c730b0e379 ("sched: add PIE based congestion management")
> Cc: wojciechx.liguzinski at intel.com
>
> Signed-off-by: Ali Alnubani <alialnu at nvidia.com>
Applied, thanks Ali.
I expect a lot more fixes in this lib, given the poor review.
More information about the dev
mailing list