Skip to contentSkip to conversation

drivers/mtd/nand/toto.c: Fix non-existent goto out_buf

PATCH In review Florian Westphal 2 participants 2 messages Jul 21, 2006 – Jul 22, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/mtd/nand/toto.c: Fix non-existent goto out_buf

From: Florian Westphal <[email protected]>

Fix nonexistent "goto out_buf".

---

drivers/mtd/nand/toto.c +1 -1
index f9e2d4a..034e30b 100644
@@ -166,7 +166,7 @@ static int __init toto_init(void)
 	default:{
 			printk(KERN_WARNING "Unsupported Nand device\n");
 			err = -ENXIO;
-			goto out_buf;
+			goto out_mtd;
 		}
 	}
 

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

#1 lore raw

Re: [KJ] [PATCH] drivers/mtd/nand/toto.c: Fix non-existent goto

drivers/mtd/nand/toto.c static int __init toto_init(void) · line 171

Quoted 12 lines · Florian Westphal

Fix nonexistent "goto out_buf".

drivers/mtd/nand/toto.c +1 -1
@@ -166,7 +166,7 @@ static int __init toto_init(void)
 	default:{
 			printk(KERN_WARNING "Unsupported Nand device\n");
 			err = -ENXIO;
-			goto out_buf;
+			goto out_mtd;
 		}
 	}

However, this driver marked as broken and fixing it isn't just fixing one label.

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors