On Wed, Jul 24, 2019 at 02:55:37PM +0200, Jiri Pirko wrote: > Mon, Jul 22, 2019 at 08:31:33PM CEST, [email protected] wrote: > >+static int net_dm_trunc_len_set(struct genl_info *info) > > void.
Ack, will change.
>
>
> >+{
> >+ if (!info->attrs[NET_DM_ATTR_TRUNC_LEN])
> >+ return 0;
> >+
> >+ net_dm_trunc_len = nla_get_u32(info->attrs[NET_DM_ATTR_TRUNC_LEN]);
> >+
> >+ return 0;
> >+}
