mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02: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:
@@ -147,9 +147,9 @@ static void *check_data(u8 *buf, size_t bsize, u32 *swap)
|
|||||||
}
|
}
|
||||||
/* Loop can be huge - support CTRL + C */
|
/* Loop can be huge - support CTRL + C */
|
||||||
if (ctrlc())
|
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)
|
||||||
|
Reference in New Issue
Block a user