|
@@ -4267,7 +4267,7 @@ static int __devinit adapter_sg_tables_alloc(struct AdapterCtlBlk *acb)
|
|
const unsigned srbs_per_page = PAGE_SIZE/SEGMENTX_LEN;
|
|
const unsigned srbs_per_page = PAGE_SIZE/SEGMENTX_LEN;
|
|
int srb_idx = 0;
|
|
int srb_idx = 0;
|
|
unsigned i = 0;
|
|
unsigned i = 0;
|
|
- struct SGentry *ptr;
|
|
|
|
|
|
+ struct SGentry *uninitialized_var(ptr);
|
|
|
|
|
|
for (i = 0; i < DC395x_MAX_SRB_CNT; i++)
|
|
for (i = 0; i < DC395x_MAX_SRB_CNT; i++)
|
|
acb->srb_array[i].segment_x = NULL;
|
|
acb->srb_array[i].segment_x = NULL;
|