mtd/drivers/mtd mtdblock_ro.c,1.14,1.15

David Woodhouse dwmw2 at infradead.org
Fri Jan 24 08:15:22 EST 2003


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

Modified Files:
	mtdblock_ro.c 
Log Message:
fix EAGAIN return value (to -EAGAIN)

Index: mtdblock_ro.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdblock_ro.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- mtdblock_ro.c	30 Oct 2002 09:02:17 -0000	1.14
+++ mtdblock_ro.c	24 Jan 2003 13:15:19 -0000	1.15
@@ -275,7 +275,7 @@
 	if (register_blkdev(MAJOR_NR,DEVICE_NAME,&mtd_fops)) {
 		printk(KERN_NOTICE "Can't allocate major number %d for Memory Technology Devices.\n",
 		       MTD_BLOCK_MAJOR);
-		return EAGAIN;
+		return -EAGAIN;
 	}
 	
 	/* We fill it in at open() time. */





More information about the linux-mtd-cvs mailing list