Skip to content

Commit 7b6670b

Browse files
jgross1Alexander Gordeev
authored andcommitted
s390/hypfs: avoid error message under KVM
When booting under KVM the following error messages are issued: hypfs.7f5705: The hardware system does not support hypfs hypfs.7a79f0: Initialization of hypfs failed with rc=-61 Demote the severity of first message from "error" to "info" and issue the second message only in other error cases. Signed-off-by: Juergen Gross <[email protected]> Acked-by: Heiko Carstens <[email protected]> Acked-by: Christian Borntraeger <[email protected]> Link: https://lore.kernel.org/r/[email protected] [arch/s390/hypfs/hypfs_diag.c changed description] Signed-off-by: Alexander Gordeev <[email protected]>
1 parent 568035b commit 7b6670b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/s390/hypfs/hypfs_diag.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ __init int hypfs_diag_init(void)
437437
int rc;
438438

439439
if (diag204_probe()) {
440-
pr_err("The hardware system does not support hypfs\n");
440+
pr_info("The hardware system does not support hypfs\n");
441441
return -ENODATA;
442442
}
443443

arch/s390/hypfs/inode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,9 +496,9 @@ static int __init hypfs_init(void)
496496
hypfs_vm_exit();
497497
fail_hypfs_diag_exit:
498498
hypfs_diag_exit();
499+
pr_err("Initialization of hypfs failed with rc=%i\n", rc);
499500
fail_dbfs_exit:
500501
hypfs_dbfs_exit();
501-
pr_err("Initialization of hypfs failed with rc=%i\n", rc);
502502
return rc;
503503
}
504504
device_initcall(hypfs_init)

0 commit comments

Comments
 (0)