Re: [PATCH net v3 0/9] net: stmmac: Fixes for -net

From: David Miller
Date: Wed Dec 18 2019 - 15:06:10 EST


From: Jose Abreu <Jose.Abreu@xxxxxxxxxxxx>
Date: Wed, 18 Dec 2019 11:17:34 +0100

> Fixes for stmmac.

Series applied.

But realistically I doubt you'll ever find a configuration where
SMP_CACHE_BYTES is less than 16 (seriously, it is so non-sensible to
build a cpu like that). So you could have done something like:

#if SMP_CACHE_BYTES < 16
#error SMP_CACHE_BYTES too small
#endif

and then add the funky double alignment code if that ever triggered.

But again it never will.