Merge tag 'compat-ioctl-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/git/arnd...
[linux-2.6-block.git] / drivers / nvme / host / core.c
index 8e8527408db3bbc16c8cb33856e34353431706fe..6ec589268b9d3d3631613b771b3ecdf5d729d88c 100644 (file)
@@ -2998,7 +2998,7 @@ static const struct file_operations nvme_dev_fops = {
        .owner          = THIS_MODULE,
        .open           = nvme_dev_open,
        .unlocked_ioctl = nvme_dev_ioctl,
-       .compat_ioctl   = nvme_dev_ioctl,
+       .compat_ioctl   = compat_ptr_ioctl,
 };
 
 static ssize_t nvme_sysfs_reset(struct device *dev,