From 22c4a82fa3e34fc94bd543c0f45a26a904e09271 Mon Sep 17 00:00:00 2001 From: dongjiuzhu1 Date: Thu, 1 Feb 2024 16:25:39 +0800 Subject: [PATCH] rpmsgdev:add support FIOC_FILEPATH for rpmsgdev_ioctl Signed-off-by: dongjiuzhu1 --- drivers/misc/rpmsgdev.c | 2 ++ 1 file changed, 2 insertions(+) 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; }