Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> --- arch/mips/mach-ar231x/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/mach-ar231x/board.c b/arch/mips/mach-ar231x/board.c index f1b876f..8bd1787 100644 --- a/arch/mips/mach-ar231x/board.c +++ b/arch/mips/mach-ar231x/board.c @@ -111,7 +111,7 @@ static u16 ar231x_cksum16(u8 *data, int size) { int i; - u16 sum; + u16 sum = 0; for (i = 0; i < size; i++) sum += data[i]; -- 1.8.3.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox