cf4d6b519d
That extra comma messes up format arguments.
Warning appears if built with FPGA_DEBUG defined:
CC drivers/fpga/spartan2.o
/mnt/data/adahl/src/u-boot/drivers/fpga/spartan2.c: In function ‘spartan2_sp_load’:
/mnt/data/adahl/src/u-boot/drivers/fpga/spartan2.c:112:11: warning: too many arguments for format [-Wformat-extra-args]
PRINTF ("%s: Function Table:\n"
^~~~~~~~~~~~~~~~~~~~~~~
/mnt/data/adahl/src/u-boot/drivers/fpga/spartan2.c:12:37: note: in definition of macro ‘PRINTF’
#define PRINTF(fmt,args...) printf (fmt ,##args)
^~~
CC drivers/fpga/spartan3.o
/mnt/data/adahl/src/u-boot/drivers/fpga/spartan3.c: In function ‘spartan3_sp_load’:
/mnt/data/adahl/src/u-boot/drivers/fpga/spartan3.c:117:11: warning: too many arguments for format [-Wformat-extra-args]
PRINTF ("%s: Function Table:\n"
^~~~~~~~~~~~~~~~~~~~~~~
/mnt/data/adahl/src/u-boot/drivers/fpga/spartan3.c:17:37: note: in definition of macro ‘PRINTF’
#define PRINTF(fmt,args...) printf (fmt ,##args)
^~~
Fixes:
|
||
---|---|---|
.. | ||
ACEX1K.c | ||
altera.c | ||
cyclon2.c | ||
fpga-uclass.c | ||
fpga.c | ||
intel_sdm_mb.c | ||
ivm_core.c | ||
Kconfig | ||
lattice.c | ||
Makefile | ||
sandbox.c | ||
socfpga_arria10.c | ||
socfpga_gen5.c | ||
socfpga.c | ||
spartan2.c | ||
spartan3.c | ||
stratixII.c | ||
stratixv.c | ||
versalpl.c | ||
virtex2.c | ||
xilinx.c | ||
zynqmppl.c | ||
zynqpl.c |