]> 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)
commit2c9a2a778fc7e9d578c019c73fbfd69c4e6c302f
tree393478ae963debddceca75e8aa4db26ee841166b
parent4abb3c0ccc3ab4c6299dfe4bfd898fe9b2cf9601
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