aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorYuanjun Gong <ruc_gongyuanjun@163.com>2023-07-31 17:05:35 +0800
committerJakub Kicinski <kuba@kernel.org>2023-08-01 14:58:34 -0700
commit0b6291ad1940c403734312d0e453e8dac9148f69 (patch)
treedb035beb7af38ee464d2e16579b710839cf99e4c /tools/perf/scripts/python/syscall-counts-by-pid.py
parentb99225b4fe297d07400f9e2332ecd7347b224f8d (diff)
net: korina: handle clk prepare error in korina_probe()
in korina_probe(), the return value of clk_prepare_enable() should be checked since it might fail. we can use devm_clk_get_optional_enabled() instead of devm_clk_get_optional() and clk_prepare_enable() to automatically handle the error. Fixes: e4cd854ec487 ("net: korina: Get mdio input clock via common clock framework") Signed-off-by: Yuanjun Gong <ruc_gongyuanjun@163.com> Link: https://lore.kernel.org/r/20230731090535.21416-1-ruc_gongyuanjun@163.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions