On Sat, Sep 23, 2023 at 01:04:37PM +0200, Florian Westphal wrote: > Phil Sutter <phil@xxxxxx> wrote: > > table = nft_table_lookup(net, nla[NFTA_RULE_TABLE], family, genmask, 0); > > if (IS_ERR(table)) { > > NL_SET_BAD_ATTR(extack, nla[NFTA_RULE_TABLE]); > > - return PTR_ERR(table); > > + return ERR_CAST(table); > > } > > Can you split that into another patch? Agreed. Any preparation update would be good to be introduced in first place. If you think ERR_CAST is better, maybe justify and target this later at nf-next? Thanks!