Commit 42a74a08 authored by Michal Simek's avatar Michal Simek

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: default avatarMichal Simek <michal.simek@xilinx.com>
parent 14cfc4f3
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment