[PATCH 0/3] Handle errors returned by radix_tree_insert() within drivers/pinctrl/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux