On 3/3/2023 11:31 AM, Ankur Dwivedi wrote: > The speed_fec_capa pointer can be null. So dereferencing the pointer is > removed and only the pointer is captured in trace function. > Fixed few more trace functions in which null pointer can be dereferenced. > As a result of this fix the address sanitizer error observed with > rte_eth_trace_find_next_of() is also resolved. > > Coverity issue: 383238 > Bugzilla ID: 1162 > Fixes: 6679cf21d608 ("ethdev: add trace points") > Fixes: ed04fd4072e9 ("ethdev: add trace points for flow") > > Signed-off-by: Ankur Dwivedi <adwiv...@marvell.com>
Acked-by: Ferruh Yigit <ferruh.yi...@amd.com>