>From: Petr Oros <poros@xxxxxxxxxx> >Sent: Wednesday, June 21, 2023 1:19 PM [...] >> + >> +static int >> +dpll_set_from_nlattr(struct dpll_device *dpll, struct genl_info >> *info) >> +{ >> + const struct dpll_device_ops *ops = dpll_device_ops(dpll); >> + struct nlattr *tb[DPLL_A_MAX + 1]; >> + int ret = 0; >> + >> + nla_parse(tb, DPLL_A_MAX, genlmsg_data(info->genlhdr), >> + genlmsg_len(info->genlhdr), NULL, info->extack); >> + if (tb[DPLL_A_MODE]) { >Hi, > >Here should be something like: > if (!ops->mode_set) > return -EOPNOTSUPP; > >Regards, >Petr Sure, fixed. Thank you! Arkadiusz [...]