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:
Michal Simek 2014-04-25 13:51:58 +02:00
parent 14cfc4f373
commit 42a74a08eb

View file

@ -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)