Re: [PATCH net-next 01/17] net: dsa: slave: chip data is optional, don't dereference NULL
From: Vivien Didelot <hidden> Date: 2016-06-03 18:09:11
Andrew Lunn [off-list ref] writes:
The new binding does not make use of dsa_chip_data, a.k.a cd. When
retrieving the size of the EEPROM attached to a switch, don't assume
there is a cd attached to the switch structure.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>