summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPieter Van Trappen <[email protected]>2025-07-08 17:24:48 +0200
committerMichal Simek <[email protected]>2025-07-24 08:54:15 +0200
commit53a10c8ce996dff088fe4afecf0ea446acba854b (patch)
treee6f313a58cbc57a06569ef6fc08ee48ebaeafb33 /cmd
parent5d74cf2204d48b9a0900fcd2173e807e16ad0fb2 (diff)
drivers: fpga: correct compiler errors and warnings
Errors reported by GCC 14.2 when enabling FPGA commands and drivers. Also many style fixes as reported by checkpatch.pl on the diffs. Most changes in stratixII.c which has been reorganized as well to avoid the top function prototypes. No functional changes. Signed-off-by: Pieter Van Trappen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/fpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/fpga.c b/cmd/fpga.c
index 9cc51f04698..d51c380d7b3 100644
--- a/cmd/fpga.c
+++ b/cmd/fpga.c
@@ -302,7 +302,7 @@ static int do_fpga_loadmk(struct cmd_tbl *cmdtp, int flag, int argc,
data = image_get_load(hdr);
- if (gunzip((void *)data, ~0UL, (void *)image_buf,
+ if (gunzip((void *)data, ~0U, (void *)image_buf,
&image_size) != 0) {
log_err("Gunzip error\n");
return CMD_RET_FAILURE;