07/07/2017 10:31, Gaëtan Rivet:
> On Thu, Jul 06, 2017 at 05:45:02PM -0700, Stephen Hemminger wrote:
> > On Fri, 7 Jul 2017 02:03:12 +0200
> > Gaetan Rivet wrote:
> >
> > > +static int
> > > +bus_name_cmp(const struct rte_bus *bus, const void *_name)
> > > +{
> > > + const char *name = _name;
>
On Thu, Jul 06, 2017 at 05:45:02PM -0700, Stephen Hemminger wrote:
> On Fri, 7 Jul 2017 02:03:12 +0200
> Gaetan Rivet wrote:
>
> > +static int
> > +bus_name_cmp(const struct rte_bus *bus, const void *_name)
> > +{
> > + const char *name = _name;
> > +
> > + return strncmp(bus->name, name,
>
On Fri, 7 Jul 2017 02:03:12 +0200
Gaetan Rivet wrote:
> +static int
> +bus_name_cmp(const struct rte_bus *bus, const void *_name)
> +{
> + const char *name = _name;
> +
> + return strncmp(bus->name, name,
> +strlen(bus->name));
I don't think you need the _name variab
3 matches
Mail list logo