diff options
author | Bruce Rogers <brogers@suse.com> | 2021-02-16 11:29:41 -0700 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2021-02-16 23:35:24 +0000 |
commit | 19d0fab40f07eeea7fe6b9e0d4e8d4b0c2de215f (patch) | |
tree | 731c906786c69e6be11ab54476386a10163911f8 /src/drivers/net/ath/ath_hw.c | |
parent | fa012dd0203145dd7638df02a9231214639f8b32 (diff) | |
download | ipxe-19d0fab40f07eeea7fe6b9e0d4e8d4b0c2de215f.zip ipxe-19d0fab40f07eeea7fe6b9e0d4e8d4b0c2de215f.tar.gz ipxe-19d0fab40f07eeea7fe6b9e0d4e8d4b0c2de215f.tar.bz2 |
[ath5k] Add missing AR5K_EEPROM_READ in ath5k_eeprom_read_turbo_modes
The GCC11 compiler pointed out something that apparently no previous
compiler noticed: in ath5k_eeprom_pread_turbo_modes, local variable
val is used uninitialized. From what I can see, the code is just
missing an initial AR5K_EEPROM_READ. Add it right before the switch
statement.
Signed-off-by: Bruce Rogers <brogers@suse.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/ath/ath_hw.c')
0 files changed, 0 insertions, 0 deletions