RE: [net-next 10/11] e1000e: fix sparse warnings with -D__CHECK_ENDIAN__

David Laight
2012-02-07T12:59:00Z

> for (i = 0; i < last_word - first_word + 1; i++)
> - eeprom_buff[i] = cpu_to_le16(eeprom_buff[i]);
> + cpu_to_le16s(&eeprom_buff[i]);

The old version is likely to generate much better code.

David