diff --git a/fs/rpmsgfs/rpmsgfs_client.c b/fs/rpmsgfs/rpmsgfs_client.c index 2fda6cfe14..5e2924ead2 100644 --- a/fs/rpmsgfs/rpmsgfs_client.c +++ b/fs/rpmsgfs/rpmsgfs_client.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include @@ -396,6 +397,12 @@ static ssize_t rpmsgfs_ioctl_arglen(int cmd) return sizeof(int); case FIOC_FILEPATH: return PATH_MAX; + case TCDRN: + case TCFLSH: + return 0; + case TCGETS: + case TCSETS: + return sizeof(struct termios); case FIOC_SETLK: case FIOC_GETLK: case FIOC_SETLKW: