aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorAndrew Lunn <[email protected]>2016-06-04 21:16:52 +0200
committerDavid S. Miller <[email protected]>2016-06-04 14:29:52 -0700
commit0e5760440842eee57ff573251e95289e2ee7b15f (patch)
treeb8599569a9211732b0d9abe3648829946d0618b2 /tools/perf/scripts/python/netdev-times.py
parent76f21b99004ef1f16be6184678f660eab911b8b8 (diff)
net: dsa: slave: chip data is optional, don't dereference NULL
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 <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Reviewed-by: Vivien Didelot <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions