diff options
author | Pieter Van Trappen <pieter.van.trappen@cern.ch> | 2025-07-08 17:24:50 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2025-07-24 08:54:15 +0200 |
commit | ac48a75ac1f37b1d6d6a3462a2d77a3d22d5ec6e (patch) | |
tree | 702349c1246b8009ec259578df81ecd76e24aad1 /drivers/fpga/fpga.c | |
parent | 354b2a29ec40d643c8a0facf5bfb4c66386e9391 (diff) |
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>
Diffstat (limited to 'drivers/fpga/fpga.c')
0 files changed, 0 insertions, 0 deletions