Re: [dpdk-dev] [PATCH] common/cnxk: fix pointer argument with gcc 12

2021-11-11 Thread Jerin Jacob
On Mon, Nov 8, 2021 at 2:50 PM Ankur Dwivedi wrote: > > The pointer passed to the rq_ctx and sq_ctx functions was the address > of qctx. Instead of that qctx should be passed. This patch fixes this. > > This patch also resolves warning observed with gcc 12 compiler. > > log: >../drivers/common

[dpdk-dev] [PATCH] common/cnxk: fix pointer argument with gcc 12

2021-11-08 Thread Ankur Dwivedi
The pointer passed to the rq_ctx and sq_ctx functions was the address of qctx. Instead of that qctx should be passed. This patch fixes this. This patch also resolves warning observed with gcc 12 compiler. log: ../drivers/common/cnxk/cnxk_telemetry.h:12:38: warning: array subscript ‘struct n