gcc12 build error, vdpa/ifc
https://bugs.dpdk.org/show_bug.cgi?id=855
Bug ID: 855
Summary: gcc12 build error, vdpa/ifc
Product: DPDK
Version: 20.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: other
Assignee: [email protected]
Reporter: [email protected]Target Milestone: ---
With gcc 12.0.0 "gcc (GCC) 12.0.0 20211024 (experimental)"
../drivers/vdpa/ifc/ifcvf_vdpa.c: In function ‘vdpa_enable_vfio_intr’:../drivers/vdpa/ifc/ifcvf_vdpa.c:385:62: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=]
385 | fd_ptr[RTE_INTR_VEC_RXTX_OFFSET + i] = fd;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
../drivers/vdpa/ifc/ifcvf_vdpa.c:350:14: note: at offset 32 into destination
object ‘irq_set_buf’ of size 32
350 | char irq_set_buf[MSIX_IRQ_SET_BUF_LEN];
| ^~~~~~~~~~~Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
https://bugs.dpdk.org/show_bug.cgi?id=855
David Marchand ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected] Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #2 from David Marchand ([email protected]) --- Fixed in https://git.dpdk.org/dpdk/commit/?id=2a213b794fdd
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.