Commit e6586c21 authored by Ben Dooks's avatar Ben Dooks Committed by Russell King

[ARM PATCH] 2455/1: shark: fix uninitialised variable in head

Patch from Ben Dooks

stop compiler warning about uninitialised variable

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
parent 0cd28a63
...@@ -24,6 +24,8 @@ create_params (unsigned long *buffer) ...@@ -24,6 +24,8 @@ create_params (unsigned long *buffer)
int j,i,m,k,nr_banks,size; int j,i,m,k,nr_banks,size;
unsigned char *c; unsigned char *c;
k = 0;
/* Head of the taglist */ /* Head of the taglist */
tag->hdr.tag = ATAG_CORE; tag->hdr.tag = ATAG_CORE;
tag->hdr.size = tag_size(tag_core); tag->hdr.size = tag_size(tag_core);
......
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