diff options
author | 2022-03-08 14:40:07 +0800 | |
---|---|---|
committer | 2022-03-09 12:12:46 +0000 | |
commit | 6babfc6e6fab068018c36e8f6605184b8c0b349d (patch) | |
tree | cd742685daaf2f22a648d68b8143a235c1543408 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue (diff) | |
download | linux-dev-6babfc6e6fab068018c36e8f6605184b8c0b349d.tar.xz linux-dev-6babfc6e6fab068018c36e8f6605184b8c0b349d.zip |
net: ethernet: ti: cpts: Handle error for clk_enable
As the potential failure of the clk_enable(),
it should be better to check it and return error
if fails.
Fixes: 8a2c9a5ab4b9 ("net: ethernet: ti: cpts: rework initialization/deinitialization")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions