DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 678] ice build warnings on Fedora 34 with gcc11
@ 2021-04-14 14:16 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2021-04-14 14:16 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=678

            Bug ID: 678
           Summary: ice build warnings on Fedora 34 with gcc11
           Product: DPDK
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: kevuzaj@gmail.com
                CC: alialnu@nvidia.com, david.marchand@redhat.com,
                    kevuzaj@gmail.com, konstantin.ananyev@intel.com
        Depends on: 673
  Target Milestone: ---

+++ This bug was initially created as a clone of Bug #673 +++

https://bugs.dpdk.org/show_bug.cgi?id=673#c2 describes ice build failures on
Fedora35. These are also present on Fedora 34 Beta.


[kevin@fedora ~]$ cat /etc/redhat-release 
Fedora release 34 (Thirty Four)
[kevin@fedora ~]$ uname -a
Linux fedora 5.11.13-300.fc34.x86_64 #1 SMP Sun Apr 11 15:07:42 UTC 2021 x86_64
x86_64 x86_64 GNU/Linux
[kevin@fedora ~]$ gcc --version
gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0)


[1447/2712] Compiling C object
drivers/net/ice/base/libice_base.a.p/ice_switch.c.o
In file included from ../drivers/net/ice/base/ice_osdep.h:20,
                 from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_switch.c: In function ‘ice_create_pkt_fwd_rule’:
../drivers/net/ice/base/ice_switch.c:3998:35: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[32]’
[-Warray-bounds]
 3998 |                 LE16_TO_CPU(s_rule->pdata.lkup_tx_rx.index);
      |                                   ^~
../lib/librte_eal/x86/include/rte_byteorder.h:81:30: note: in definition of
macro ‘rte_le_to_cpu_16’
   81 | #define rte_le_to_cpu_16(x) (x)
      |                              ^
../drivers/net/ice/base/ice_switch.c:3998:17: note: in expansion of macro
‘LE16_TO_CPU’
 3998 |                 LE16_TO_CPU(s_rule->pdata.lkup_tx_rx.index);
      |                 ^~~~~~~~~~~
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
32 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3969:17: note: in expansion of macro
‘ice_malloc’
 3969 |                 ice_malloc(hw, ICE_SW_RULE_RX_TX_ETH_HDR_SIZE);
      |                 ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c: In function ‘ice_update_pkt_fwd_rule’:
../drivers/net/ice/base/ice_switch.c:3610:22: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[32]’
[-Warray-bounds]
 3610 |         s_rule->type = (f_info->flag & ICE_FLTR_RX) ?
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
32 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:4027:17: note: in expansion of macro
‘ice_malloc’
 4027 |                 ice_malloc(hw, ICE_SW_RULE_RX_TX_ETH_HDR_SIZE);
      |                 ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3615:44: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[32]’
[-Warray-bounds]
 3615 |         s_rule->pdata.lkup_tx_rx.recipe_id =
CPU_TO_LE16(f_info->lkup_type);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
32 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:4027:17: note: in expansion of macro
‘ice_malloc’
 4027 |                 ice_malloc(hw, ICE_SW_RULE_RX_TX_ETH_HDR_SIZE);
      |                 ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3616:38: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[32]’
[-Warray-bounds]
 3616 |         s_rule->pdata.lkup_tx_rx.src = CPU_TO_LE16(f_info->src);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
32 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:4027:17: note: in expansion of macro
‘ice_malloc’
 4027 |                 ice_malloc(hw, ICE_SW_RULE_RX_TX_ETH_HDR_SIZE);
      |                 ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3617:38: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[32]’
[-Warray-bounds]
 3617 |         s_rule->pdata.lkup_tx_rx.act = CPU_TO_LE32(act);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
32 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:4027:17: note: in expansion of macro
‘ice_malloc’
 4027 |                 ice_malloc(hw, ICE_SW_RULE_RX_TX_ETH_HDR_SIZE);
      |                 ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:4033:15: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[32]’
[-Warray-bounds]
 4033 |         s_rule->pdata.lkup_tx_rx.index =
CPU_TO_LE16(f_info->fltr_rule_id);
      |               ^~
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
32 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:4027:17: note: in expansion of macro
‘ice_malloc’
 4027 |                 ice_malloc(hw, ICE_SW_RULE_RX_TX_ETH_HDR_SIZE);
      |                 ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c: In function ‘ice_add_marker_act’:
../drivers/net/ice/base/ice_switch.c:3679:15: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[52]’
[-Warray-bounds]
 3679 |         lg_act->type = CPU_TO_LE16(ICE_AQC_SW_RULES_T_LG_ACT);
      |               ^~
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
52 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3672:50: note: in expansion of macro
‘ice_malloc’
 3672 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3680:15: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[52]’
[-Warray-bounds]
 3680 |         lg_act->pdata.lg_act.index = CPU_TO_LE16(l_id);
      |               ^~
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
52 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3672:50: note: in expansion of macro
‘ice_malloc’
 3672 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3681:15: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[52]’
[-Warray-bounds]
 3681 |         lg_act->pdata.lg_act.size = CPU_TO_LE16(num_lg_acts);
      |               ^~
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
52 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3672:50: note: in expansion of macro
‘ice_malloc’
 3672 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3693:15: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[52]’
[-Warray-bounds]
 3693 |         lg_act->pdata.lg_act.act[0] = CPU_TO_LE32(act);
      |               ^~
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
52 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3672:50: note: in expansion of macro
‘ice_malloc’
 3672 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3699:15: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[52]’
[-Warray-bounds]
 3699 |         lg_act->pdata.lg_act.act[1] = CPU_TO_LE32(act);
      |               ^~
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
52 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3672:50: note: in expansion of macro
‘ice_malloc’
 3672 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3709:15: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[52]’
[-Warray-bounds]
 3709 |         lg_act->pdata.lg_act.act[2] = CPU_TO_LE32(act);
      |               ^~
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
52 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3672:50: note: in expansion of macro
‘ice_malloc’
 3672 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3610:22: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[52]’
[-Warray-bounds]
 3610 |         s_rule->type = (f_info->flag & ICE_FLTR_RX) ?
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
52 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3672:50: note: in expansion of macro
‘ice_malloc’
 3672 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3615:44: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[52]’
[-Warray-bounds]
 3615 |         s_rule->pdata.lkup_tx_rx.recipe_id =
CPU_TO_LE16(f_info->lkup_type);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
52 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3672:50: note: in expansion of macro
‘ice_malloc’
 3672 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3616:38: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[52]’
[-Warray-bounds]
 3616 |         s_rule->pdata.lkup_tx_rx.src = CPU_TO_LE16(f_info->src);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
52 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3672:50: note: in expansion of macro
‘ice_malloc’
 3672 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3617:38: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[52]’
[-Warray-bounds]
 3617 |         s_rule->pdata.lkup_tx_rx.act = CPU_TO_LE32(act);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
52 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3672:50: note: in expansion of macro
‘ice_malloc’
 3672 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3716:14: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[52]’
[-Warray-bounds]
 3716 |         rx_tx->pdata.lkup_tx_rx.act =
      |              ^~
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
52 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3672:50: note: in expansion of macro
‘ice_malloc’
 3672 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3725:14: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[52]’
[-Warray-bounds]
 3725 |         rx_tx->pdata.lkup_tx_rx.index =
      |              ^~
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
52 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3672:50: note: in expansion of macro
‘ice_malloc’
 3672 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c: In function
‘ice_update_vsi_list_rule.constprop’:
../drivers/net/ice/base/ice_switch.c:3910:47: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[10]’
[-Warray-bounds]
 3910 |                 s_rule->pdata.vsi_list.vsi[i] =
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
10 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3901:50: note: in expansion of macro
‘ice_malloc’
 3901 |         s_rule = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
s_rule_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3914:22: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[10]’
[-Warray-bounds]
 3914 |         s_rule->type = CPU_TO_LE16(rule_type);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
10 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3901:50: note: in expansion of macro
‘ice_malloc’
 3901 |         s_rule = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
s_rule_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3915:43: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[10]’
[-Warray-bounds]
 3915 |         s_rule->pdata.vsi_list.number_vsi = CPU_TO_LE16(num_vsi);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
10 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3901:50: note: in expansion of macro
‘ice_malloc’
 3901 |         s_rule = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
s_rule_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3916:38: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[10]’
[-Warray-bounds]
 3916 |         s_rule->pdata.vsi_list.index = CPU_TO_LE16(vsi_list_id);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
10 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3901:50: note: in expansion of macro
‘ice_malloc’
 3901 |         s_rule = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
s_rule_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c: In function ‘ice_remove_rule_internal’:
../drivers/net/ice/base/ice_switch.c:3517:46: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[16]’
[-Warray-bounds]
 3517 |                 s_rule->pdata.lkup_tx_rx.act = 0;
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
16 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:4504:25: note: in expansion of macro
‘ice_malloc’
 4504 |                         ice_malloc(hw, ICE_SW_RULE_RX_TX_NO_HDR_SIZE);
      |                         ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3518:48: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[16]’
[-Warray-bounds]
 3518 |                 s_rule->pdata.lkup_tx_rx.index =
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
16 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:4504:25: note: in expansion of macro
‘ice_malloc’
 4504 |                         ice_malloc(hw, ICE_SW_RULE_RX_TX_NO_HDR_SIZE);
      |                         ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3520:50: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[16]’
[-Warray-bounds]
 3520 |                 s_rule->pdata.lkup_tx_rx.hdr_len = 0;
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
16 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:4504:25: note: in expansion of macro
‘ice_malloc’
 4504 |                         ice_malloc(hw, ICE_SW_RULE_RX_TX_NO_HDR_SIZE);
      |                         ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c: In function ‘ice_create_vsi_list_rule’:
../drivers/net/ice/base/ice_switch.c:3914:22: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[12]’
[-Warray-bounds]
 3914 |         s_rule->type = CPU_TO_LE16(rule_type);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
between 10 and 12 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3901:50: note: in expansion of macro
‘ice_malloc’
 3901 |         s_rule = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
s_rule_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3915:43: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[12]’
[-Warray-bounds]
 3915 |         s_rule->pdata.vsi_list.number_vsi = CPU_TO_LE16(num_vsi);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
between 10 and 12 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3901:50: note: in expansion of macro
‘ice_malloc’
 3901 |         s_rule = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
s_rule_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3916:38: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[12]’
[-Warray-bounds]
 3916 |         s_rule->pdata.vsi_list.index = CPU_TO_LE16(vsi_list_id);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
between 10 and 12 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3901:50: note: in expansion of macro
‘ice_malloc’
 3901 |         s_rule = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
s_rule_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3910:47: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[12]’
[-Warray-bounds]
 3910 |                 s_rule->pdata.vsi_list.vsi[i] =
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
between 10 and 12 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3901:50: note: in expansion of macro
‘ice_malloc’
 3901 |         s_rule = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
s_rule_size);
      |                                                  ^~~~~~~~~~
In file included from ../drivers/net/ice/base/ice_osdep.h:20,
                 from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_switch.c: In function ‘ice_cfg_dflt_vsi’:
../drivers/net/ice/base/ice_switch.c:5270:47: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[32]’
[-Warray-bounds]
 5270 |                 u16 index =
LE16_TO_CPU(s_rule->pdata.lkup_tx_rx.index);
      |                                               ^~
../lib/librte_eal/x86/include/rte_byteorder.h:81:30: note: in definition of
macro ‘rte_le_to_cpu_16’
   81 | #define rte_le_to_cpu_16(x) (x)
      |                              ^
../drivers/net/ice/base/ice_switch.c:5270:29: note: in expansion of macro
‘LE16_TO_CPU’
 5270 |                 u16 index =
LE16_TO_CPU(s_rule->pdata.lkup_tx_rx.index);
      |                             ^~~~~~~~~~~
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
between 16 and 32 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:5234:50: note: in expansion of macro
‘ice_malloc’
 5234 |         s_rule = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
s_rule_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c: In function ‘ice_add_mac_with_counter’:
../drivers/net/ice/base/ice_switch.c:3778:22: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[48]’
[-Warray-bounds]
 3778 |         lg_act->type = CPU_TO_LE16(ICE_AQC_SW_RULES_T_LG_ACT);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
48 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3771:50: note: in expansion of macro
‘ice_malloc’
 3771 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3779:36: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[48]’
[-Warray-bounds]
 3779 |         lg_act->pdata.lg_act.index = CPU_TO_LE16(l_id);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
48 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3771:50: note: in expansion of macro
‘ice_malloc’
 3771 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3780:35: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[48]’
[-Warray-bounds]
 3780 |         lg_act->pdata.lg_act.size = CPU_TO_LE16(num_acts);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
48 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3771:50: note: in expansion of macro
‘ice_malloc’
 3771 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3793:37: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[48]’
[-Warray-bounds]
 3793 |         lg_act->pdata.lg_act.act[0] = CPU_TO_LE32(act);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
48 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3771:50: note: in expansion of macro
‘ice_malloc’
 3771 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3799:37: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[48]’
[-Warray-bounds]
 3799 |         lg_act->pdata.lg_act.act[1] = CPU_TO_LE32(act);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
48 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3771:50: note: in expansion of macro
‘ice_malloc’
 3771 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3807:37: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[48]’
[-Warray-bounds]
 3807 |         rx_tx->pdata.lkup_tx_rx.act = CPU_TO_LE32(act);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
48 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3771:50: note: in expansion of macro
‘ice_malloc’
 3771 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3814:39: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[48]’
[-Warray-bounds]
 3814 |         rx_tx->pdata.lkup_tx_rx.index = CPU_TO_LE16(f_rule_id);
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
48 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:3771:50: note: in expansion of macro
‘ice_malloc’
 3771 |         lg_act = (struct ice_aqc_sw_rules_elem *)ice_malloc(hw,
rules_size);
      |                                                  ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c: In function ‘ice_rem_adv_rule’:
../drivers/net/ice/base/ice_switch.c:8803:23: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[16]’
[-Warray-bounds]
 8803 |                 s_rule->pdata.lkup_tx_rx.act = 0;
      |                       ^~
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
16 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:8800:25: note: in expansion of macro
‘ice_malloc’
 8800 |                         ice_malloc(hw, rule_buf_sz);
      |                         ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:8804:23: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[16]’
[-Warray-bounds]
 8804 |                 s_rule->pdata.lkup_tx_rx.index =
      |                       ^~
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
16 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:8800:25: note: in expansion of macro
‘ice_malloc’
 8800 |                         ice_malloc(hw, rule_buf_sz);
      |                         ^~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:8806:23: warning: array subscript ‘struct
ice_aqc_sw_rules_elem[0]’ is partly outside array bounds of ‘unsigned char[16]’
[-Warray-bounds]
 8806 |                 s_rule->pdata.lkup_tx_rx.hdr_len = 0;
      |                       ^~
In file included from ../drivers/net/ice/base/ice_type.h:54,
                 from ../drivers/net/ice/base/ice_common.h:8,
                 from ../drivers/net/ice/base/ice_switch.h:8,
                 from ../drivers/net/ice/base/ice_switch.c:5:
../drivers/net/ice/base/ice_osdep.h:209:29: note: referencing an object of size
16 allocated by ‘rte_zmalloc’
  209 | #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ice/base/ice_switch.c:8800:25: note: in expansion of macro
‘ice_malloc’
 8800 |                         ice_malloc(hw, rule_buf_sz);
      |                         ^~~~~~~~~~


Referenced Bugs:

https://bugs.dpdk.org/show_bug.cgi?id=673
[Bug 673] acl build failures on Fedora 35 with gcc 11
-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-14 14:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14 14:16 [dpdk-dev] [Bug 678] ice build warnings on Fedora 34 with gcc11 bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).