[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170906140605.GD11864@lunn.ch>
Date: Wed, 6 Sep 2017 16:06:05 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Nisar.Sayed@...rochip.com
Cc: davem@...emloft.net, UNGLinuxDriver@...rochip.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net 3/4] lan78xx: Fix for eeprom read/write when device
autosuspend
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
Powered by blists - more mailing lists