[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8622241f-a7f3-953a-8045-45eee88fff6c@engleder-embedded.com>
Date: Sat, 7 Jan 2023 21:12:59 +0100
From: Gerhard Engleder <gerhard@...leder-embedded.com>
To: Dan Carpenter <error27@...il.com>, oe-kbuild@...ts.linux.dev,
netdev@...r.kernel.org
Cc: lkp@...el.com, oe-kbuild-all@...ts.linux.dev, davem@...emloft.net,
kuba@...nel.org, edumazet@...gle.com, pabeni@...hat.com
Subject: Re: [PATCH net-next v3 9/9] tsnep: Add XDP RX support
On 07.01.23 09:46, Dan Carpenter wrote:
> dd23b834a352b5 Gerhard Engleder 2023-01-04 631 static bool tsnep_xdp_xmit_back(struct tsnep_adapter *adapter,
> ^^^^
> dd23b834a352b5 Gerhard Engleder 2023-01-04 632 struct xdp_buff *xdp)
> dd23b834a352b5 Gerhard Engleder 2023-01-04 633 {
> dd23b834a352b5 Gerhard Engleder 2023-01-04 634 struct xdp_frame *xdpf = xdp_convert_buff_to_frame(xdp);
> dd23b834a352b5 Gerhard Engleder 2023-01-04 635 int cpu = smp_processor_id();
> dd23b834a352b5 Gerhard Engleder 2023-01-04 636 struct netdev_queue *nq;
> dd23b834a352b5 Gerhard Engleder 2023-01-04 637 int queue;
> dd23b834a352b5 Gerhard Engleder 2023-01-04 638 bool xmit;
> dd23b834a352b5 Gerhard Engleder 2023-01-04 639
> dd23b834a352b5 Gerhard Engleder 2023-01-04 640 if (unlikely(!xdpf))
> dd23b834a352b5 Gerhard Engleder 2023-01-04 @641 return -EFAULT;
>
> return false?
Of course. Will be fixed. Thanks!
Gerhard
Powered by blists - more mailing lists