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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

After merging the net-next tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from include/linux/bitmap.h:9,
                 from include/linux/cpumask.h:12,
                 from arch/x86/include/asm/cpumask.h:5,
                 from arch/x86/include/asm/msr.h:11,
                 from arch/x86/include/asm/processor.h:22,
                 from arch/x86/include/asm/timex.h:5,
                 from include/linux/timex.h:65,
                 from include/linux/time32.h:13,
                 from include/linux/time.h:60,
                 from include/linux/skbuff.h:15,
                 from include/linux/if_ether.h:19,
                 from include/linux/etherdevice.h:20,
                 from drivers/net/ethernet/marvell/octeontx2/af/mbox.h:11,
                 from drivers/net/ethernet/marvell/octeontx2/af/cgx.h:11,
                 from drivers/net/ethernet/marvell/octeontx2/af/rpm.c:8:
drivers/net/ethernet/marvell/octeontx2/af/rpm.c: In function 'rpm_cfg_pfc_quanta_thresh':
include/linux/find.h:40:23: error: array subscript 'long unsigned int[0]' is partly outside array bounds of 'u16[1]' {aka 'short unsigned int[1]'} [-Werror=array-bounds]
   40 |                 val = *addr & GENMASK(size - 1, offset);
      |                       ^~~~~
drivers/net/ethernet/marvell/octeontx2/af/rpm.c:144:68: note: while referencing 'pfc_en'
  144 | static void rpm_cfg_pfc_quanta_thresh(rpm_t *rpm, int lmac_id, u16 pfc_en,
      |                                                                ~~~~^~~~~~

Caused by commit

  1121f6b02e7a ("octeontx2-af: Priority flow control configuration support")

I have used the net-next tree frm next-20220209 for today.

-- 
Cheers,
Stephen Rothwell

Attachment: pgpm6ZRY6ZGG9.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux