[PATCH] Staging: udlfb: fix coding style issues

Soeren Moeller soerenmoeller2001 at gmail.com
Fri May 14 19:03:00 UTC 2010


This is a patch to the file udlfb.c that fixes a missing KERN_INFO and removes one whitespace before a newline.

Signed-off-by: Soeren Moeller <soerenmoeller2001 at gmail.com>
---
 drivers/staging/udlfb/udlfb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/udlfb/udlfb.c b/drivers/staging/udlfb/udlfb.c
index a78ade0..c294fd3 100644
--- a/drivers/staging/udlfb/udlfb.c
+++ b/drivers/staging/udlfb/udlfb.c
@@ -1438,7 +1438,7 @@ static int __init dlfb_module_init(void)
 	if (res)
 		err("usb_register failed. Error number %d", res);
 
-	printk("VMODES initialized\n");
+	printk(KERN_INFO "VMODES initialized\n");
 
 	return res;
 }
@@ -1567,7 +1567,7 @@ static int dlfb_alloc_urb_list(struct dlfb_data *dev, int count, size_t size)
 
 	kref_get(&dev->kref); /* released in free_render_urbs() */
 
-	dl_notice("allocated %d %d byte urbs \n", i, (int) size);
+	dl_notice("allocated %d %d byte urbs\n", i, (int) size);
 
 	return i;
 }
-- 
1.6.3.3




More information about the devel mailing list