[dpdk-dev] [PATCH v8 4/9] eal/bus: support for scanning of bus

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Jan 18 08:32:49 CET 2017


2017-01-18 05:15, Shreyansh Jain:
> > > + *
> > > + * @return
> > > + *     0 for successful scan
> > > + *     !0 (<0) for unsuccessful scan with error value
> > 
> > What do you mean with !0 (<0) ?
> > I guess <0 is enough.
> > 
>  
> Only to highlight that only '-ve' values would be returned. I will change it to !0 only.

What is -ve?
Why not specifying <0 if errors are always negative?


More information about the dev mailing list