numam-dpdk/drivers/common
Ankur Dwivedi 5050f441e3 common/cnxk: fix pointer argument with GCC 12
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 nix_cn10k_sq_ctx_s[0]’ is partly outside array bounds of
   ‘volatile void[8]’ [-Warray-bounds]

Bugzilla ID: 853
Fixes: af75aac789 ("common/cnxk: support telemetry for NIX")
Cc: stable@dpdk.org

Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
Reviewed-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
2021-11-11 16:12:13 +01:00
..
cnxk common/cnxk: fix pointer argument with GCC 12 2021-11-11 16:12:13 +01:00
cpt common/cpt: rework pending queue 2021-09-28 08:43:57 +02:00
dpaax dma/dpaa: introduce DPAA DMA driver skeleton 2021-11-10 13:48:38 +01:00
iavf common/iavf: support IPsec inline crypto 2021-10-29 04:15:31 +02:00
mlx5 common/mlx5: fix build for zero-length headroom array 2021-11-10 15:44:45 +01:00
mvep drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
octeontx common/octeontx: enable build only on 64-bit Linux 2021-10-15 19:13:13 +02:00
octeontx2 common/octeontx2: update mailbox version to 0xb 2021-10-29 16:08:17 +02:00
qat common/qat: fix queue pairs number 2021-11-04 19:46:27 +01:00
sfc_efx common/sfc_efx/base: add API to decrement TTL action to set 2021-11-08 16:25:51 +01:00
meson.build drivers: clean up build lists 2021-04-21 12:37:55 +02:00