[PATCH v2 4/6] drivers: fix exported headers
Stephen Hemminger
stephen at networkplumber.org
Fri Dec 13 18:10:14 CET 2024
On Fri, 13 Dec 2024 11:50:08 +0100
David Marchand <david.marchand at redhat.com> wrote:
> @@ -496,6 +501,7 @@ rte_pmd_bphy_intr_mem_get(uint16_t dev_id, struct cnxk_bphy_mem *mem)
> {
> struct cnxk_bphy_irq_msg msg = {
> .type = CNXK_BPHY_IRQ_MSG_TYPE_MEM_GET,
> + .data = NULL,
> };
>
Why add these, compiler already initializes these to NULL.
Are you trying to enable -Wmissing-field-initializers?
More information about the dev
mailing list