]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/cpu-hotplug: Use return instead of exit
authorZhao Gongyi <zhaogongyi@huawei.com>
Mon, 5 Sep 2022 13:36:12 +0000 (21:36 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 5 Oct 2022 17:05:18 +0000 (11:05 -0600)
commit972cf4ce51ef5532d56822af17defb148aac0ccb
tree393478ae963debddceca75e8aa4db26ee841166b
parent2354edd07b2336cd3ca9d81791f9411b8fe92d6e
selftests/cpu-hotplug: Use return instead of exit

Some cpus will be left in offline state when online
function exits in some error conditions. Use return
instead of exit to fix it.

Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/cpu-hotplug/cpu-on-off-test.sh