Commit 1e73d434 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] sparse: efivars.c initializer fix

parent f2073f12
...@@ -660,7 +660,7 @@ static int hd_ioctl(struct inode * inode, struct file * file, ...@@ -660,7 +660,7 @@ static int hd_ioctl(struct inode * inode, struct file * file,
unsigned int cmd, unsigned long arg) unsigned int cmd, unsigned long arg)
{ {
struct hd_i_struct *disk = inode->i_bdev->bd_disk->private_data; struct hd_i_struct *disk = inode->i_bdev->bd_disk->private_data;
struct hd_geometry *loc = (struct hd_geometry *) arg; struct hd_geometry __user *loc = (struct hd_geometry __user *) arg;
struct hd_geometry g; struct hd_geometry g;
if (cmd != HDIO_GETGEO) if (cmd != HDIO_GETGEO)
......
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