Re: linux-next: build failure after merge of the net-next tree

From: Maciej Fijalkowski
Date: Mon Mar 07 2022 - 15:54:41 EST


On Mon, Mar 07, 2022 at 09:36:59PM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the net-next tree, today's linux-next build (arm64
> allmodconfig) failed like this:
>
> drivers/net/ethernet/intel/ice/ice_xsk.c: In function 'ice_xmit_pkt_batch':
> drivers/net/ethernet/intel/ice/ice_xsk.c:801:0: error: ignoring #pragma GCC unroll [-Werror=unknown-pragmas]
> loop_unrolled_for(i = 0; i < PKTS_PER_BATCH; i++) {
> ^
> cc1: all warnings being treated as errors
>
> Caused by commit
>
> 126cdfe1007a ("ice: xsk: Improve AF_XDP ZC Tx and use batching API")
>
> This build was done with gcc v5.4.

Hey Stephen, thanks for a report, I'll send a fix to net-next immediately.
Maciej

>
> --
> Cheers,
> Stephen Rothwell