Hay
Date
Jan. 30, 2025, 2:38 p.m.

Environment
s390

make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/2/build ARCH=s390 CROSS_COMPILE=s390x-linux-gnu- 'CC=sccache s390x-linux-gnu-gcc' 'HOSTCC=sccache gcc'
In file included from /builds/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:40:
/builds/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c: In function 'mvpp2_setup_bm_pool':
/builds/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2.h:634:2: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551584' to '-32' [-Woverflow]
  ((total_size) - NET_SKB_PAD - MVPP2_SKB_SHINFO_SIZE)
  ^
/builds/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2.h:699:33: note: in expansion of macro 'MVPP2_RX_MAX_PKT_SIZE'
 #define MVPP2_BM_SHORT_PKT_SIZE MVPP2_RX_MAX_PKT_SIZE(MVPP2_BM_SHORT_FRAME_SIZE)
                                 ^~~~~~~~~~~~~~~~~~~~~
/builds/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:577:41: note: in expansion of macro 'MVPP2_BM_SHORT_PKT_SIZE'
  mvpp2_pools[MVPP2_BM_SHORT].pkt_size = MVPP2_BM_SHORT_PKT_SIZE;
                                         ^~~~~~~~~~~~~~~~~~~~~~~

make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/2/build ARCH=s390 CROSS_COMPILE=s390x-linux-gnu- 'CC=sccache s390x-linux-gnu-gcc' 'HOSTCC=sccache gcc'
In file included from /builds/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:40:
/builds/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c: In function 'mvpp2_setup_bm_pool':
/builds/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2.h:634:9: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551584' to '-32' [-Woverflow]
  634 |         ((total_size) - NET_SKB_PAD - MVPP2_SKB_SHINFO_SIZE)
      |         ^
/builds/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2.h:699:33: note: in expansion of macro 'MVPP2_RX_MAX_PKT_SIZE'
  699 | #define MVPP2_BM_SHORT_PKT_SIZE MVPP2_RX_MAX_PKT_SIZE(MVPP2_BM_SHORT_FRAME_SIZE)
      |                                 ^~~~~~~~~~~~~~~~~~~~~
/builds/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:577:48: note: in expansion of macro 'MVPP2_BM_SHORT_PKT_SIZE'
  577 |         mvpp2_pools[MVPP2_BM_SHORT].pkt_size = MVPP2_BM_SHORT_PKT_SIZE;
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~