[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAF=yD-K9jWEuOYPtPgcFqGi8L3bExB6rwFi-4WhvaDSUW+_y1g@mail.gmail.com>
Date: Mon, 13 Aug 2018 21:44:09 +0200
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: krzk@...nel.org
Cc: Network Development <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>, caleb.raitto@...il.com,
kbuild test robot <lkp@...el.com>,
Willem de Bruijn <willemb@...gle.com>
Subject: Re: [net-next,v2] cpumask: make cpumask_next_wrap available without smp
On Mon, Aug 13, 2018 at 6:01 PM Krzysztof Kozlowski <krzk@...nel.org> wrote:
>
> On Sun, Aug 12, 2018 at 09:14:03AM -0400, Willem de Bruijn wrote:
> > From: Willem de Bruijn <willemb@...gle.com>
> >
> > The kbuild robot shows build failure on machines without CONFIG_SMP:
>
> If this was reported by kbuild robot, then could you credit him with
> Reported-by?
You're right. I forgot, sorry. Will do in the future.
> >
> > drivers/net/virtio_net.c:1916:10: error:
> > implicit declaration of function 'cpumask_next_wrap'
> >
> > cpumask_next_wrap is exported from lib/cpumask.o, which has
> >
> > lib-$(CONFIG_SMP) += cpumask.o
> >
> > same as other functions, also define it as static inline in the
> > NR_CPUS==1 branch in include/linux/cpumask.h.
> >
> > If wrap is true and next == start, return nr_cpumask_bits, or 1.
> > Else wrap across the range of valid cpus, here [0].
> >
> > Fixes: 2ca653d607ce ("virtio_net: Stripe queue affinities across cores.")
> > Signed-off-by: Willem de Bruijn <willemb@...gle.com>
> > ---
> > include/linux/cpumask.h | 7 +++++++
> > 1 file changed, 7 insertions(+)
> >
>
> Tested-by: Krzysztof Kozlowski <krzk@...nel.org>
Thanks for testing,
Willem
Powered by blists - more mailing lists