rpmsgdev:add support FIOC_FILEPATH for rpmsgdev_ioctl
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
64ebb149c6
commit
22c4a82fa3
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue