Re: mmotm 2020-03-28-22-17 uploaded (staging/octeon/)

From: Randy Dunlap
Date: Sun Mar 29 2020 - 12:12:38 EST


On 3/28/20 10:18 PM, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> The mm-of-the-moment snapshot 2020-03-28-22-17 has been uploaded to
>
> http://www.ozlabs.org/~akpm/mmotm/
>
> mmotm-readme.txt says
>
> README for mm-of-the-moment:
>
> http://www.ozlabs.org/~akpm/mmotm/
>
> This is a snapshot of my -mm patch queue. Uploaded at random hopefully
> more than once a week.
>
> You will need quilt to apply these patches to the latest Linus release (5.x
> or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated in
> http://ozlabs.org/~akpm/mmotm/series


on i386 or x86_64:

../drivers/staging/octeon/ethernet-tx.c: In function âcvm_oct_xmitâ:
../drivers/staging/octeon/ethernet-tx.c:358:2: error: implicit declaration of function âskb_reset_tcâ; did you mean âskb_reserveâ? [-Werror=implicit-function-declaration]
skb_reset_tc(skb);
^~~~~~~~~~~~

It looks like this inline function has been removed from
<net/sch_generic.h>.


Looks like it should be this change:

- skb_reset_tc(skb);
+ skb_reset_redirect(skb);


--
~Randy
Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>