aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSerge Semin <fancer.lancer@gmail.com>2024-02-22 20:58:23 +0300
committerDavid S. Miller <davem@davemloft.net>2024-02-26 13:09:09 +0000
commit361dd531a11bc2c63c3c906a202a9c8a7675f3e7 (patch)
treecf60851b8796017258da09d7ab4f1e33e529227e /tools/perf/scripts/python/stackcollapse.py
parentf5151005d379d9ce42e327fd3b2d2aaef61cda81 (diff)
net: pcs: xpcs: Explicitly return error on caps validation
If an unsupported interface is passed to the PCS validation callback there is no need in further link-modes calculations since the resultant array will be initialized with zeros which will be perceived by the phylink subsystem as error anyway (see phylink_validate_mac_and_pcs()). Instead let's explicitly return the -EINVAL error to inform the caller about the unsupported interface as it's done in the rest of the pcs_validate callbacks. Signed-off-by: Serge Semin <fancer.lancer@gmail.com> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions