On Wed, 21 Aug 2019 at 14:35, David Sterba <dsterba@xxxxxxx> wrote: > match_strdup takes an opaque type > substring_t that is used by the parser. Sorry, how would one determine that the type is opaque? > I've checked some other > usages in the tree and the match_strdup/memparse/kstrtoull is quite > common. Sorry, I also see there are places where substring_t's .from / .to are still accessed directly (including in btrfs code). Do you think they ought to use match_strdup instead?
