Skip to contentSkip to conversation

Staging: speakup: serialio: Fixed errors in file

PATCH New Tracey Dent 1 participant 1 message Oct 8, 2010 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: speakup: serialio: Fixed errors in file

On line 40 printk() needed an KERN_* facility level, so I gave it INFO. Also, fixed a C99 comment error.

---
 drivers/staging/speakup/serialio.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/speakup/serialio.c +2 -2
index f64eb36..bafd62f 100644
@@ -37,7 +37,7 @@ struct serial_state *spk_serial_init(int index)
 		cval |= UART_LCR_EPAR;
 	if (synth_request_region(ser->port, 8)) {
 		/* try to take it back. */
-		printk("Ports not available, trying to steal them\n");
+		printk(KERN_INFO "Ports not available, trying to steal them\n");
 		__release_region(&ioport_resource, ser->port, 8);
 		err = synth_request_region(ser->port, 8);
 		if (err) {
@@ -155,7 +155,7 @@ int wait_for_xmitr(void)
 	while (!((inb_p(speakup_info.port_tts + UART_MSR)) & UART_MSR_CTS)) {
 		/* CTS */
 		if (--tmout == 0) {
-			// pr_warn("%s: timed out (cts)\n", synth->long_name);
+			/* pr_warn("%s: timed out (cts)\n", synth->long_name); */
 			timeouts++;
 			return 0;
 		}
Signature · 1 line
1.7.3.1.104.gc752e