aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorGaosheng Cui <[email protected]>2022-12-14 16:01:17 +0800
committerPaolo Abeni <[email protected]>2022-12-15 14:00:34 +0100
commit2cb815cfc78b137ee38bcd65e7c955d6cc2cc250 (patch)
tree0b025ec71b2625e03ee1aaee3895974acef557f9 /tools/perf/scripts/python/stat-cpi.py
parent7e43039a49c2da45edc1d9d7c9ede4003ab45a5f (diff)
net: stmmac: fix errno when create_singlethread_workqueue() fails
We should set the return value to -ENOMEM explicitly when create_singlethread_workqueue() fails in stmmac_dvr_probe(), otherwise we'll lose the error value. Fixes: a137f3f27f92 ("net: stmmac: fix possible memory leak in stmmac_dvr_probe()") Signed-off-by: Gaosheng Cui <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions