[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git-commits-head
Subject:    [PATCH] mmc annotation
From:       Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date:       2004-08-31 23:40:49
Message-ID: 200409010306.i813621X005281 () hera ! kernel ! org
[Download RAW message or body]

ChangeSet 1.1866, 2004/08/31 16:40:49-07:00, viro@www.linux.org.uk

	[PATCH] mmc annotation
	
	Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
	Signed-off-by: Linus Torvalds <torvalds@osdl.org>



 mmc_block.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/mmc/mmc_block.c b/drivers/mmc/mmc_block.c
--- a/drivers/mmc/mmc_block.c	2004-08-31 20:06:12 -07:00
+++ b/drivers/mmc/mmc_block.c	2004-08-31 20:06:12 -07:00
@@ -124,7 +124,7 @@
 		geo.sectors	= 16;
 		geo.start	= get_start_sect(bdev);
 
-		return copy_to_user((void *)arg, &geo, sizeof(geo))
+		return copy_to_user((void __user *)arg, &geo, sizeof(geo))
 			? -EFAULT : 0;
 	}
 
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic