Re: [PATCH net 3/4] lan78xx: Fix for eeprom read/write when device autosuspend From: Andrew Lunn <andrew@lunn.ch> Date: 2017-09-06 14:06:08 Hi Nisar + else if ((ee->magic == LAN78XX_EEPROM_MAGIC) && + (ee->offset >= 0 && ee->offset < MAX_EEPROM_SIZE) && + (ee->len > 0 && (ee->offset + ee->len) <= MAX_EEPROM_SIZE)) + ret = lan78xx_write_raw_eeprom(dev, ee->offset, ee->len, data); This change does not appear to have anything to do with auto suspend. Please make it a separate patch. Andrew
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help