sched/bt: eliminate warning when booting with offline_class

offline_class was defined as an early_param. But the callback
function return 1 which lead to a warning message
"[    0.000000] Malformed early option 'offline_class'"
when booting.

Signed-off-by: Xiaoguang Chen <xiaoggchen@tencent.com>
This commit is contained in:
chen xiaoguang 2020-07-16 14:33:46 +08:00 committed by Xiaoming Gao
parent 6d0d1ff068
commit 2a3f62dd59
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ static int __init set_sched_bt_on(char *str)
{
sched_bt_on = 1;
return 1;
return 0;
}
early_param("offline_class", set_sched_bt_on);