]> 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)
commit33538f4379b7d95de75c7d06fb2966cd3d375872
tree393478ae963debddceca75e8aa4db26ee841166b
parentb83b6c22c2e9ff563f2ddd368c8c2cffec338a01
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