aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorColin Foster <[email protected]>2021-12-07 09:00:28 -0800
committerJakub Kicinski <[email protected]>2021-12-07 21:44:49 -0800
commit49af6a7620c53b779572abfbfd7778e113154330 (patch)
tree3cd935a8f9905f4975bb652b0cd8db4f6306b558 /tools/perf/scripts/python/stat-cpi.py
parentc99104840a95db04e5d71b0810d3666aaa5b2798 (diff)
net: dsa: ocelot: felix: Remove requirement for PCS in felix devices
Existing felix devices all have an initialized pcs array. Future devices might not, so running a NULL check on the array before dereferencing it will allow those future drivers to not crash at this point Signed-off-by: Colin Foster <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions