[dpdk-dev] [PATCH v3 01/13] crypto: replace rte_panic instances in crypto driver

Arnon Warshavsky arnon at qwilt.com
Mon Apr 16 16:24:56 CEST 2018


This function is only called from locations that return a -errno code, not
just

> -1.
>
> Neil

Hi Neil

Looking up the references I see that some of the places looking at this
return value from the probe function
simply return their own -1 , and some return different enums relevant for
their context.
As they all look at  !=0 or < 0 , but not all propagate the value they got
I used an explicit -1.
Do you have a specific enum in mind I should replace it with?

/Arnon


More information about the dev mailing list