提交 184c460f 编写于 作者: V Vasily Gorbik 提交者: Martin Schwidefsky

s390/kasan: adapt disabled_wait usage to avoid build error

Fix the following build error when the kernel is built with CONFIG_KASAN
broken since commit 98587c2d ("s390: simplify disabled_wait"):

arch/s390/mm/kasan_init.c: In function 'kasan_early_panic':
arch/s390/mm/kasan_init.c:31:2: error: too many arguments to function
'disabled_wait'
   31 |  disabled_wait(0);

Fixes: 98587c2d ("s390: simplify disabled_wait")
Reported-by: NBenjamin Block <bblock@linux.ibm.com>
Signed-off-by: NVasily Gorbik <gor@linux.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 7e756f42
...@@ -28,7 +28,7 @@ static void __init kasan_early_panic(const char *reason) ...@@ -28,7 +28,7 @@ static void __init kasan_early_panic(const char *reason)
{ {
sclp_early_printk("The Linux kernel failed to boot with the KernelAddressSanitizer:\n"); sclp_early_printk("The Linux kernel failed to boot with the KernelAddressSanitizer:\n");
sclp_early_printk(reason); sclp_early_printk(reason);
disabled_wait(0); disabled_wait();
} }
static void * __init kasan_early_alloc_segment(void) static void * __init kasan_early_alloc_segment(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册