Title: [4049] trunk/arch/blackfin/kernel/bfin_gpio.c: [#2424] Be a little bit more verbose
Revision
4049
Author
hennerich
Date
2007-12-17 08:14:35 -0600 (Mon, 17 Dec 2007)

Log Message

[#2424] Be a little bit more verbose

Diffstat

 bfin_gpio.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

Modified Paths

Diff

Modified: trunk/arch/blackfin/kernel/bfin_gpio.c (4048 => 4049)


--- trunk/arch/blackfin/kernel/bfin_gpio.c	2007-12-17 13:03:39 UTC (rev 4048)
+++ trunk/arch/blackfin/kernel/bfin_gpio.c	2007-12-17 14:14:35 UTC (rev 4049)
@@ -249,8 +249,10 @@
 
 static int cmp_label(unsigned short ident, const char *label)
 {
-	if (label == NULL)
+	if (label == NULL) {
+		printk(KERN_ERR"Please provide none-null label\n");
 		dump_stack();
+	}
 
 	if (label && str_ident)
 		return strncmp(str_ident[ident].name,
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to