Here are 3 patches against the 'devel' branch of Linus W.'s 'linux-pinctrl.git' repo... The code in drivers/pinctrl/ doesn't check the results of radix_tree_insert() calls, although it could propagate the errors from the callers upstream. (Linus Walleij said he has copied the radix tree code from kernel/irq/, where the functions calling radix_tree_insert() are *void* themselves.) Sergey Shtylyov (3): pinctrl: core: handle radix_tree_insert() errors in pinctrl_generic_add_group() pinctrl: core: handle radix_tree_insert() errors in pinctrl_register_one_pin() pinctrl: pinmux: handle radix_tree_insert() errors in pinmux_generic_add_function() drivers/pinctrl/core.c | 20 +++++++++++++++----- drivers/pinctrl/pinmux.c | 6 ++++-- 2 files changed, 19 insertions(+), 7 deletions(-) -- 2.26.3