On Wed 12 Sep 08:08 PDT 2018, Arnd Bergmann wrote:

[..]
> diff --git a/drivers/rpmsg/rpmsg_char.c b/drivers/rpmsg/rpmsg_char.c
> index a76b963a7e50..02aefb2b2d47 100644
> --- a/drivers/rpmsg/rpmsg_char.c
> +++ b/drivers/rpmsg/rpmsg_char.c
> @@ -285,7 +285,7 @@ static const struct file_operations rpmsg_eptdev_fops = {
>       .write = rpmsg_eptdev_write,
>       .poll = rpmsg_eptdev_poll,
>       .unlocked_ioctl = rpmsg_eptdev_ioctl,
> -     .compat_ioctl = rpmsg_eptdev_ioctl,
> +     .compat_ioctl = generic_compat_ioctl_ptrarg,
>  };
>  
>  static ssize_t name_show(struct device *dev, struct device_attribute *attr,
> @@ -446,7 +446,7 @@ static const struct file_operations rpmsg_ctrldev_fops = {
>       .open = rpmsg_ctrldev_open,
>       .release = rpmsg_ctrldev_release,
>       .unlocked_ioctl = rpmsg_ctrldev_ioctl,
> -     .compat_ioctl = rpmsg_ctrldev_ioctl,
> +     .compat_ioctl = generic_compat_ioctl_ptrarg,
>  };
>  

For rpmsg part

Acked-by: Bjorn Andersson <bjorn.anders...@linaro.org>

Regards,
Bjorn
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to