Re: [PATCH] net/cxgbe: rework mailbox access to fix gcc12 -Wdangling-pointer

2022-01-20 Thread Ferruh Yigit
On 1/19/2022 9:56 PM, Rahul Lakkireddy wrote: Rework mailbox access serialization to dynamically allocate and free mbox entry. Also remove unnecessary temp memory and macros. Observed with: gcc-12.0 (GCC) 12.0.1 20220118 (experimental) In file included from ../lib/eal/linux/include/rte_os.h:14,

[PATCH] net/cxgbe: rework mailbox access to fix gcc12 -Wdangling-pointer

2022-01-19 Thread Rahul Lakkireddy
Rework mailbox access serialization to dynamically allocate and free mbox entry. Also remove unnecessary temp memory and macros. Observed with: gcc-12.0 (GCC) 12.0.1 20220118 (experimental) In file included from ../lib/eal/linux/include/rte_os.h:14, from ../lib/eal/include/rte_co