[ipxe-devel] [PATCH] [ath5k] Add missing AR5K_EEPROM_READ in ath5k_eeprom_read_turbo_modes

Michael Brown mcb30 at ipxe.org
Tue Feb 16 23:39:34 UTC 2021

On 16/02/2021 18:29, Bruce Rogers wrote:
> 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 at suse.com>

Applied; thank you!


I have no idea how this went unnoticed for so long by any compiler!



More information about the ipxe-devel mailing list