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

2020-06-26 Thread Maxime Coquelin
On 6/26/20 12:13 PM, Adrian Moreno wrote: > > > On 6/24/20 2:26 PM, 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: >> >>

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

2020-06-26 Thread Adrian Moreno
On 6/24/20 2:26 PM, 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 v2 01/14] bus/dpaa: fix null pointer dereference

2020-06-24 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