]> git.ipfire.org Git - thirdparty/u-boot.git/commit
drivers: fpga: fix function declaration without a prototype
authorPieter Van Trappen <pieter.van.trappen@cern.ch>
Tue, 8 Jul 2025 15:24:50 +0000 (17:24 +0200)
committerMichal Simek <michal.simek@amd.com>
Thu, 24 Jul 2025 06:54:15 +0000 (08:54 +0200)
commitac48a75ac1f37b1d6d6a3462a2d77a3d22d5ec6e
tree702349c1246b8009ec259578df81ecd76e24aad1
parent354b2a29ec40d643c8a0facf5bfb4c66386e9391
drivers: fpga: fix function declaration without a prototype

As reported by clang 20.1, fix multiple of the following:
 drivers/fpga/ivm_core.c:593:23: error: a function declaration without
 a prototype is deprecated in all versions of C
 [-Werror,-Wstrict-prototypes]
  593 | long int ispVMDataSize()
      |                       ^
      |                        void

Also fix the following warning from checkpatch.pl:
 WARNING: Prefer 'long' over 'long int' as the int is unnecessary

Signed-off-by: Pieter Van Trappen <pieter.van.trappen@cern.ch>
Link: https://lore.kernel.org/r/20250708152455.1214487-6-vtpieter@gmail.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/fpga/ivm_core.c