Re: [dpdk-dev] [PATCH v2] graph: do not use a possibly NULL Pointer

2021-05-24 Thread David Marchand
On Mon, May 24, 2021 at 11:31 AM Thierry Herbelot wrote: > > Use stats only after it was checked not to be NULL. > > Fixes: af1ae8b6a32c9 ("graph: implement stats") > Cc: sta...@dpdk.org > Cc: Jerin Jacob > Cc: Kiran Kumar K > > Signed-off-by: Thierry Herbelot > -- > V2: reword patch title > --

[dpdk-dev] [PATCH v2] graph: do not use a possibly NULL Pointer

2021-05-24 Thread Thierry Herbelot
Use stats only after it was checked not to be NULL. Fixes: af1ae8b6a32c9 ("graph: implement stats") Cc: sta...@dpdk.org Cc: Jerin Jacob Cc: Kiran Kumar K Signed-off-by: Thierry Herbelot -- V2: reword patch title --- lib/graph/graph_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)