compat_hdio_ioctl: Fix a declaration
[sfrench/cifs-2.6.git] / block / compat_ioctl.c
index 38554c2ea38adc28f0835b35f65cdb2c94451656..abaf9d78a2061d8d307a3f05858afbc8445c15d7 100644 (file)
@@ -79,7 +79,7 @@ static int compat_hdio_getgeo(struct gendisk *disk, struct block_device *bdev,
 static int compat_hdio_ioctl(struct block_device *bdev, fmode_t mode,
                unsigned int cmd, unsigned long arg)
 {
-       unsigned long *__user p;
+       unsigned long __user *p;
        int error;
 
        p = compat_alloc_user_space(sizeof(unsigned long));