mtd/drivers/mtd mtdblock.c,1.56,1.57

David Woodhouse dwmw2 at infradead.org
Fri Sep 13 10:43:59 EDT 2002


Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv4699

Modified Files:
	mtdblock.c 
Log Message:
Fix __FUNCTION__ abuse.


Index: mtdblock.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdblock.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- mtdblock.c	30 Jul 2002 18:19:58 -0000	1.56
+++ mtdblock.c	13 Sep 2002 14:43:57 -0000	1.57
@@ -421,7 +421,7 @@
 		res = 0;
 
 		if (minor(req->rq_dev) >= MAX_MTD_DEVICES)
-			panic(__FUNCTION__": minor out of bound");
+			panic("handle_mtdblock_request(): minor out of bounds");
 
 		if (!IS_REQ_CMD(req))
 			goto end_req;





More information about the linux-mtd-cvs mailing list