From: Subash Abhinov Kasiviswanathan <subas...@codeaurora.org>
Date: Sat,  9 Dec 2017 13:58:29 -0700

> @@ -312,7 +321,8 @@ static int rmnet_rtnl_validate(struct nlattr *tb[], 
> struct nlattr *data[],
>  
>  static size_t rmnet_get_size(const struct net_device *dev)
>  {
> -     return nla_total_size(2); /* IFLA_VLAN_ID */
> +     return nla_total_size(2) /* IFLA_VLAN_ID */ +
> +     nla_total_size(sizeof(struct ifla_vlan_flags)); /* IFLA_VLAN_FLAGS */
>  }
>  

Please indent this return statement properly, the second line of the
expression definitely should not start at the same column as the
'return'.

Thank you.

Reply via email to