numam-dpdk/drivers/raw
Wei Huang 099da89792 raw/ifpga: fix integer overflow for N3000
Expression "tx_chunks * ctx->dma_buf_size" in dma_fpga_to_fpga()
is evaluated using 32-bit arithmetic, which would overflow
 potentially. Change tx_chunks to type "uint64_t" to avoid such
issue.

Coverity issue: 379203
Fixes: 7d63899a5c ("raw/ifpga: add N3000 AFU driver")

Signed-off-by: Wei Huang <wei.huang@intel.com>
Acked-by: Tianfei Zhang <tianfei.zhang@intel.com>
Acked-by: Rosen Xu <rosen.xu@intel.com>
2022-06-26 12:20:25 +02:00
..
cnxk_bphy common/cnxk: support switching CPRI/ETH back and forth 2022-06-22 09:02:14 +02:00
cnxk_gpio raw/cnxk_gpio: allow controlling existing GPIO 2022-06-08 10:56:54 +02:00
dpaa2_cmdif build: remove custom dependency checks in drivers 2022-01-21 15:40:58 +01:00
ifpga raw/ifpga: fix integer overflow for N3000 2022-06-26 12:20:25 +02:00
ioat raw/ioat: fix build when ioat dmadev enabled 2022-06-26 10:26:36 +02:00
ntb raw/ntb: clear all valid doorbell bits on init 2022-02-13 12:23:34 +01:00
skeleton remove unnecessary null checks 2022-02-12 12:07:48 +01:00
meson.build raw/dpaa2_qdma: remove driver 2022-06-01 08:58:27 +02:00