Re: [dpdk-dev] [PATCH 01/14] bus/dpaa: fix null pointer dereference

2020-06-12 Thread Gaƫtan Rivet
On 11/06/20 23:37 +0200, Maxime Coquelin wrote: > This patches fixes a null pointer derefencing that happens > when the device string passed to the iterator is NULL. This > situation can happen when iterating on a class type. > For example: > > RTE_DEV_FOREACH(dev, "class=eth", &dev_iter) { >

[dpdk-dev] [PATCH 01/14] bus/dpaa: fix null pointer dereference

2020-06-11 Thread Maxime Coquelin
This patches fixes a null pointer derefencing that happens when the device string passed to the iterator is NULL. This situation can happen when iterating on a class type. For example: RTE_DEV_FOREACH(dev, "class=eth", &dev_iter) { ... } Fixes: e79df833d3f6 ("bus/dpaa: support hotplug ops") C