From: j-keerthy@ti.com (Keerthy) Date: Mon, 31 Jul 2017 17:22:40 +0530 Subject: [PATCH v2 0/3] gpio: davinci: Add missing return checks In-Reply-To: <7107e153-3341-2e64-04d5-a3ba98aa7190@ti.com> References: <1500543738-9696-1-git-send-email-j-keerthy@ti.com> <7107e153-3341-2e64-04d5-a3ba98aa7190@ti.com> Message-ID: <0b888731-f23b-7271-447e-87ae2bd560bf@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Friday 21 July 2017 01:27 AM, Suman Anna wrote: > Hi Keerthy, > >> >> On Thursday 20 July 2017 03:12 PM, Keerthy wrote: >>> The patch series does a couple of important return handling which were missed >>> earlier in the driver probe. >>> >>> This is based on Suman's: >>> >>> http://marc.info/?l=linux-arm-kernel&m=150034845427555&w=2 >>> http://marc.info/?l=linux-arm-kernel&m=150034856627618&w=2 >>> >> >> My bad! The series has no dependency on the above. I have split the >> device tree patches to keep it independent. > > The new patches looks clean. The davinci_gpio_irq_setup() function > though could also do with couple more cleanups. Not all failure paths > are doing the necessary cleanup (there are some non devres functions > also called, but not cleaned up). Linus, Any comments on this series? Regards, Keerthy > > regards > Suman > >> >>> Changes in v2: >>> >>> * Removed the device tree patch for to keep the series independent. >>> >>> Keerthy (3): >>> gpio: davinci: Use devm_gpiochip_add_data in place of >>> gpiochip_add_data >>> gpio: davinci: Handle the return value of davinci_gpio_irq_setup >>> function >>> gpio: davinci: Convert prinkt to dev_err >>> >>> drivers/gpio/gpio-davinci.c | 22 +++++++++++++++++----- >>> 1 file changed, 17 insertions(+), 5 deletions(-) >>> >