Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1b612a12 authored by Chris Park's avatar Chris Park Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: fix warning while printing



size_t should print using %zu, but here it was use %lu.
we were getting warning while printing.

Signed-off-by: default avatarChris Park <chris.park@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8a69ebc2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -404,7 +404,7 @@ static int spi_cmd_complete(uint8_t cmd, uint32_t adr, uint8_t *b, uint32_t sz,
#undef NUM_DUMMY_BYTES

	if (len2 > (sizeof(wb) / sizeof(wb[0]))) {
		PRINT_ER("[wilc spi]: spi buffer size too small (%d) (%lu)\n",
		PRINT_ER("[wilc spi]: spi buffer size too small (%d) (%zu)\n",
			 len2, (sizeof(wb) / sizeof(wb[0])));
		result = N_FAIL;
		return result;