Searched refs:eepromv0 (Results 1 – 1 of 1) sorted by relevance
28 } __packed eepromv0; in handle_eeprom_v0() local33 if (be16_to_cpu(eeprom->length) != sizeof(eepromv0)) { in handle_eeprom_v0()34 warn_wrong_value("length", sizeof(eepromv0), in handle_eeprom_v0()39 memcpy(&eepromv0, eeprom, sizeof(eepromv0)); in handle_eeprom_v0()41 crc = crc32(0L, (unsigned char *)&eepromv0, in handle_eeprom_v0()42 sizeof(eepromv0) - sizeof(eepromv0.crc32)); in handle_eeprom_v0()43 if (be32_to_cpu(eepromv0.crc32) != crc) { in handle_eeprom_v0()44 warn_wrong_value("CRC", be32_to_cpu(eepromv0.crc32), in handle_eeprom_v0()