> Hi Ioana > > > I will send a v2 changing the return value to -ENODEV in case no cpus > > with an affine DPIO is found. > > It would be good to review all the cases where IS_ERR_OR_NULL() is used. It is > very easy to get wrong. In fact, it has been suggested this macro is removed, > because it is used wrongly way too often. Try to avoid it if you can. >
The macro is used just 2 times in the dpaa2-eth and both are part of the error path that I've reviewed and will update with a v2 of this patch. Ioana