OrangePi_CM5/drivers/fpga
Marco Pagani 474f12deaa fpga: altera-pr-ip: fix unsigned comparison with less than zero
[ Upstream commit 2df84a757d87fd62869fc401119d429735377ec5 ]

Fix the "comparison with less than zero" warning reported by
cppcheck for the unsigned (size_t) parameter count of the
alt_pr_fpga_write() function.

Fixes: d201cc17a8 ("fpga pr ip: Core driver support for Altera Partial Reconfiguration IP")
Reviewed-by: Tom Rix <trix@redhat.com>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Signed-off-by: Marco Pagani <marpagan@redhat.com>
Link: https://lore.kernel.org/r/20220609140520.42662-1-marpagan@redhat.com
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-21 15:15:53 +02:00
..
Kconfig
…
Makefile
…
altera-cvp.c
…
altera-fpga2sdram.c
…
altera-freeze-bridge.c
…
altera-hps2fpga.c
…
altera-pr-ip-core-plat.c
…
altera-pr-ip-core.c fpga: altera-pr-ip: fix unsigned comparison with less than zero 2022-08-21 15:15:53 +02:00
altera-ps-spi.c
…
dfl-afu-dma-region.c
…
dfl-afu-error.c
…
dfl-afu-main.c
…
dfl-afu-region.c
…
dfl-afu.h
…
dfl-fme-br.c
…
dfl-fme-error.c
…
dfl-fme-main.c
…
dfl-fme-mgr.c
…
dfl-fme-perf.c
…
dfl-fme-pr.c
…
dfl-fme-pr.h
…
dfl-fme-region.c
…
dfl-fme.h
…
dfl-pci.c
…
dfl.c
…
dfl.h
…
fpga-bridge.c
…
fpga-mgr.c
…
fpga-region.c
…
ice40-spi.c
…
machxo2-spi.c fpga: machxo2-spi: Fix missing error code in machxo2_write_complete() 2021-09-30 10:11:04 +02:00
of-fpga-region.c
…
socfpga-a10.c
…
socfpga.c
…
stratix10-soc.c
…
ts73xx-fpga.c
…
xilinx-pr-decoupler.c
…
xilinx-spi.c
…
zynq-fpga.c
…
zynqmp-fpga.c
…