Commit 3c501b83 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] mmc annotation

Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent abfbfc49
...@@ -124,7 +124,7 @@ mmc_blk_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, unsigned ...@@ -124,7 +124,7 @@ mmc_blk_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, unsigned
geo.sectors = 16; geo.sectors = 16;
geo.start = get_start_sect(bdev); 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; ? -EFAULT : 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment