[PATCH 3/3] drivers/speakup: kobjects : Fixed Coding issues -Debugging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Updated printk() of i18n messages to include KERN_INFO facility level to improve debuggin.
then later noticed that I forgot to add a space on printk.

Signed-off-by: Tamir Suliman <tsuliman@xxxxxxxxxxxxxxx>
---
 drivers/staging/speakup/kobjects.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/speakup/kobjects.c b/drivers/staging/speakup/kobjects.c
index 7e79f99..af664f0 100644
--- a/drivers/staging/speakup/kobjects.c
+++ b/drivers/staging/speakup/kobjects.c
@@ -740,7 +740,7 @@ static void report_msg_status(int reset, int received, int used,
 			snprintf(buf + (len - 1), sizeof(buf) - (len - 1),
 				 " with %d reject%s\n",
 				 rejected, rejected > 1 ? "s" : "");
-		printk(KERN_INFO "i18n messages rejected\n",buf);
+		printk(KERN_INFO "i18n messages rejected\n", buf);
 	}
 }
 
-- 
1.8.3.1

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux