X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Farm%2Fboot%2Fcompressed%2Fofw-shark.c;h=7f6f5db0d0603275c668c0beebee4d5851e28ee0;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=0d62ff36f991538140ee044373a45cc3c19cb243;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/arch/arm/boot/compressed/ofw-shark.c b/arch/arm/boot/compressed/ofw-shark.c index 0d62ff36f..7f6f5db0d 100644 --- a/arch/arm/boot/compressed/ofw-shark.c +++ b/arch/arm/boot/compressed/ofw-shark.c @@ -24,6 +24,8 @@ create_params (unsigned long *buffer) int j,i,m,k,nr_banks,size; unsigned char *c; + k = 0; + /* Head of the taglist */ tag->hdr.tag = ATAG_CORE; tag->hdr.size = tag_size(tag_core);