mirror of https://gitee.com/openkylin/linux.git
char: Fix typo in viotape.c
Correct spelling "allocat" to "allocate" in drivers/char/viotape.c Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
934e7d44b8
commit
a7ccf37752
|
@ -976,7 +976,7 @@ int __init viotap_init(void)
|
|||
|
||||
tape_class = class_create(THIS_MODULE, "tape");
|
||||
if (IS_ERR(tape_class)) {
|
||||
printk(VIOTAPE_KERN_WARN "Unable to allocat class\n");
|
||||
printk(VIOTAPE_KERN_WARN "Unable to allocate class\n");
|
||||
ret = PTR_ERR(tape_class);
|
||||
goto unreg_chrdev;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue