diff --git a/drivers/misc/rpmsgdev.c b/drivers/misc/rpmsgdev.c index 45d249b402..e0c5fdfcca 100644 --- a/drivers/misc/rpmsgdev.c +++ b/drivers/misc/rpmsgdev.c @@ -626,6 +626,8 @@ static ssize_t rpmsgdev_ioctl_arglen(int cmd) case TUNSETIFF: case TUNGETIFF: return sizeof(struct ifreq); + case FIOC_FILEPATH: + return PATH_MAX; default: return -ENOTTY; }