diff options
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_nvram.c')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_nvram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_nvram.c b/drivers/scsi/qla4xxx/ql4_nvram.c index 7fe0482ecf03..f0d0fbf88aa2 100644 --- a/drivers/scsi/qla4xxx/ql4_nvram.c +++ b/drivers/scsi/qla4xxx/ql4_nvram.c | |||
@@ -149,7 +149,7 @@ static int eeprom_readword(int eepromAddr, u16 * value, | |||
149 | /* Hardware_lock must be set before calling */ | 149 | /* Hardware_lock must be set before calling */ |
150 | u16 rd_nvram_word(struct scsi_qla_host * ha, int offset) | 150 | u16 rd_nvram_word(struct scsi_qla_host * ha, int offset) |
151 | { | 151 | { |
152 | u16 val; | 152 | u16 val = 0; |
153 | 153 | ||
154 | /* NOTE: NVRAM uses half-word addresses */ | 154 | /* NOTE: NVRAM uses half-word addresses */ |
155 | eeprom_readword(offset, &val, ha); | 155 | eeprom_readword(offset, &val, ha); |