mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
fpga: zynq: Remove sparse warnings
Warnings: drivers/fpga/zynqpl.c:150:32: warning: Using plain integer as NULL pointer drivers/fpga/zynqpl.c:152:16: warning: Using plain integer as NULL pointer Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
14cfc4f373
commit
42a74a08eb
1 changed files with 2 additions and 2 deletions
|
@ -147,9 +147,9 @@ static void *check_data(u8 *buf, size_t bsize, u32 *swap)
|
|||
}
|
||||
/* 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)
|
||||
|
|
Loading…
Reference in a new issue