aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2022-05-13 08:46:12 -0300
committerJakub Kicinski <[email protected]>2022-05-16 12:58:10 -0700
commitf2ef6f7539c68c6bd6c32323d8845ee102b7c450 (patch)
tree771a83af8ee65888c1b0aeb131923d59dc9b4d6e /tools/perf/scripts/python/netdev-times.py
parentd887ae3247e022183f244cb325dca1dfbd0a9ed0 (diff)
net: phy: micrel: Allow probing without .driver_data
Currently, if the .probe element is present in the phy_driver structure and the .driver_data is not, a NULL pointer dereference happens. Allow passing .probe without .driver_data by inserting NULL checks for priv->type. Signed-off-by: Fabio Estevam <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions