Skip to contentSkip to conversation

staging: speakup: Fix a typo error print for softsynthu device

PATCH In review Zhenzhong Duan 2 participants 2 messages Mar 5, 2020 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: speakup: Fix a typo error print for softsynthu device

When softsynthu device fails the register, "/dev/softsynthu" should be printed instead of "/dev/softsynth".

Cc William Hubbs <[email protected]>
Cc Chris Brannon <[email protected]>
Cc Kirk Reiser <[email protected]>
Cc Samuel Thibault <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
---
 drivers/staging/speakup/speakup_soft.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/speakup/speakup_soft.c +1 -1
index 9d85a3a1af4c..28cedaec6d8a 100644
@@ -388,7 +388,7 @@ static int softsynth_probe(struct spk_synth *synth)
 	synthu_device.name = "softsynthu";
 	synthu_device.fops = &softsynthu_fops;
 	if (misc_register(&synthu_device)) {
-		pr_warn("Couldn't initialize miscdevice /dev/softsynth.\n");
+		pr_warn("Couldn't initialize miscdevice /dev/softsynthu.\n");
 		return -ENODEV;
 	}
 
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw

Zhenzhong Duan, le jeu. 05 mars 2020 15:21:51 +0800, a ecrit:

Quoted 2 lines

When softsynthu device fails the register, "/dev/softsynthu" should be printed instead of "/dev/softsynth".

Thanks!

Quoted 26 lines
Cc William Hubbs <[email protected]>
Cc Chris Brannon <[email protected]>
Cc Kirk Reiser <[email protected]>
Cc Samuel Thibault <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
---
 drivers/staging/speakup/speakup_soft.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/speakup/speakup_soft.c +1 -1
index 9d85a3a1af4c..28cedaec6d8a 100644
@@ -388,7 +388,7 @@ static int softsynth_probe(struct spk_synth *synth)
 	synthu_device.name = "softsynthu";
 	synthu_device.fops = &softsynthu_fops;
 	if (misc_register(&synthu_device)) {
-		pr_warn("Couldn't initialize miscdevice /dev/softsynth.\n");
+		pr_warn("Couldn't initialize miscdevice /dev/softsynthu.\n");
 		return -ENODEV;
 	}
 
Signature · 1 line
2.17.1
Signature · 5 lines
Samuel
N: beep beep Miam miam? 
y: ++
a: kill -MIAM -1
 -+- #runtime < /dev/miam -+-