projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fpga: zynq: Remove sparse warnings
[oweals/u-boot.git]
/
drivers
/
fpga
/
zynqpl.c
diff --git
a/drivers/fpga/zynqpl.c
b/drivers/fpga/zynqpl.c
index dcd34951ad68f727ddb482ab2079c52c151ac227..0a134e524c4452088cbb82dc716949e28b74e148 100644
(file)
--- a/
drivers/fpga/zynqpl.c
+++ b/
drivers/fpga/zynqpl.c
@@
-147,9
+147,9
@@
static void *check_data(u8 *buf, size_t bsize, u32 *swap)
}
/* Loop can be huge - support CTRL + C */
if (ctrlc())
}
/* Loop can be huge - support CTRL + C */
if (ctrlc())
- return
0
;
+ return
NULL
;
}
}
- return
0
;
+ return
NULL
;
}
static int zynq_load(xilinx_desc *desc, const void *buf, size_t bsize)
}
static int zynq_load(xilinx_desc *desc, const void *buf, size_t bsize)