summaryrefslogtreecommitdiffstats
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r--drivers/net/tun.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index ae49f4b99b67..3d4c24572ecd 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -1580,7 +1580,8 @@ static void tun_setup(struct net_device *dev)
1580/* Trivial set of netlink ops to allow deleting tun or tap 1580/* Trivial set of netlink ops to allow deleting tun or tap
1581 * device with netlink. 1581 * device with netlink.
1582 */ 1582 */
1583static int tun_validate(struct nlattr *tb[], struct nlattr *data[]) 1583static int tun_validate(struct nlattr *tb[], struct nlattr *data[],
1584 struct netlink_ext_ack *extack)
1584{ 1585{
1585 return -EINVAL; 1586 return -EINVAL;
1586} 1587}