Searched refs:oldimage (Results 1 – 1 of 1) sorted by relevance
1611 unsigned char *image, *oldimage; in rr_ioctl() local1663 oldimage = kmalloc(EEPROM_WORDS * sizeof(u32), GFP_KERNEL); in rr_ioctl()1664 if (!oldimage){ in rr_ioctl()1674 kfree(oldimage); in rr_ioctl()1680 kfree(oldimage); in rr_ioctl()1693 i = rr_read_eeprom(rrpriv, 0, oldimage, EEPROM_BYTES); in rr_ioctl()1699 error = memcmp(image, oldimage, EEPROM_BYTES); in rr_ioctl()1706 kfree(oldimage); in rr_ioctl()