u-boot/drivers/fpga
Alexander Dahl cf4d6b519d fpga: spartan2: Fix printf arguments warning
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: e221174377 ("Initial revision")
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20221007122003.11239-3-ada@thorsis.com
2022-10-10 12:28:08 +02:00
..
ACEX1K.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
altera.c fpga: altera: Rename Stratix10 FPGA to Intel FPGA SDM Mailbox 2020-10-09 17:53:12 +08:00
cyclon2.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
fpga-uclass.c dm: fpga: Introduce new uclass 2022-10-05 08:43:53 +02:00
fpga.c fpga: add fpga_compatible2flag 2022-07-26 09:34:21 +02:00
intel_sdm_mb.c cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
ivm_core.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Kconfig fpga: Add missing Kconfig symbols for old FPGA drivers 2022-10-10 12:28:08 +02:00
lattice.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Makefile dm: fpga: Introduce new uclass 2022-10-05 08:43:53 +02:00
sandbox.c dm: fpga: Introduce new uclass 2022-10-05 08:43:53 +02:00
socfpga_arria10.c treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
socfpga_gen5.c arm: socfpga: Convert system manager from struct to defines 2020-01-07 14:38:33 +01:00
socfpga.c WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
spartan2.c fpga: spartan2: Fix printf arguments warning 2022-10-10 12:28:08 +02:00
spartan3.c fpga: xilinx: pass compatible flags to load() callback 2022-07-26 09:34:21 +02:00
stratixII.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
stratixv.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
versalpl.c fpga: xilinx: pass compatible flags to load() callback 2022-07-26 09:34:21 +02:00
virtex2.c fpga: xilinx: pass compatible flags to load() callback 2022-07-26 09:34:21 +02:00
xilinx.c fpga: xilinx: pass compatible flags to load() callback 2022-07-26 09:34:21 +02:00
zynqmppl.c fpga: zynqmp: support loading encrypted bitfiles 2022-07-26 09:34:21 +02:00
zynqpl.c fpga: zynq: Remove post config info message for SPL 2022-09-12 12:03:17 +02:00