Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754168AbcL3UQe (ORCPT ); Fri, 30 Dec 2016 15:16:34 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:54494 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754025AbcL3UQc (ORCPT ); Fri, 30 Dec 2016 15:16:32 -0500 Date: Fri, 30 Dec 2016 21:16:14 +0100 (CET) From: Stefan Wahren To: Alexey Khoroshilov , Jonathan Cameron , Dmitry Torokhov Cc: lee.jones@linaro.org, linux-kernel@vger.kernel.org, ldv-project@linuxtesting.org, linux-iio@vger.kernel.org Message-ID: <918653344.138229.1483128974311@email.1und1.de> In-Reply-To: <104b932a-86b3-1ef0-29d2-d27eade1f97d@kernel.org> References: <1482531319-26935-1-git-send-email-khoroshilov@ispras.ru> <1600801097.88831.1482789844722@email.1und1.de> <104b932a-86b3-1ef0-29d2-d27eade1f97d@kernel.org> Subject: Re: [PATCH] iio: mxs-lradc: fix error handling in mxs_lradc_probe() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.1-Rev28 X-Originating-Client: open-xchange-appsuite X-Provags-ID: V03:K0:yCW5NI9xXeoFdYYWBObB0wnQEmh0eglnykt81NS44TV1eq5OqaK 7jsAd5cjEBGaY2w/xtN860+HCd0blcBmpOfC/I5V+GJz+uy8QhSker60R1J/J9d8tiGkPWn RyuG5WdW2mqyE9q8lq6ecg5ygz5mlbAMaRVNAB49B89ZKPH2PONb9XhPW3qKTAm0q0xG4K+ iVlNPxQlTBVgPdKP4XrCA== X-UI-Out-Filterresults: notjunk:1;V01:K0:ilnE5u2Qsok=:BYkNro00IjgtDh17HvhzMu 3QBxFZIE5DIqJf2mlkL1tpL2kbjvCeIN7hDp7EAKZVfAM25mc4PiTvOc7xpJR+O/ZnlSqPl+K HQ1c0/Vkkt1CP5MoDtXC01ZEPAocom1Xrb03fJywYAg1EjCxPzmh3zbs1mnVFfNMns7TFlpzt osbGAyhsZTv702E4DHImJVYMPxxmYwIpfxPbLftjDVjA070QkoIhcrUnqv3HYSVgMLhzCQomv 9gD8TZHHrifDSvwAXSEJSulTrgoESQeuRDGsDPTQsmVDP2Sxn+pkRiuBF1qkDb3pJCI15GtMp 3XUsuNP4DGcJzHy4X8pudDVq+/fomL46bTl51pgCT7x7hKbfqTIwSHwo0udZiOU+rr5NyMNF/ f7U3uA+hAUpBhMc0gKN4JAd7/U/+JcNpw8KDKcp4vbhTqkTuQRLcXKiXi8mPlxmb3jx2dfc1r ySnhGnK3O6uyGHM2l4P/TPYKTWx/k/8DyPO7q/x2w5h7AzeT1mHCZJ7JIqrHR/376OyPVvmOe Wx+PZBgnLDsp0l+kCSuyhqflZGA/+xX52dc6ubojahNzpi/zyLB7pg2MwF4TWjdLWyfGjxoAQ X7kKI2dmXA4blDotHQnN7XYSkjo9vd35l5ge+j9dEE3sF7rS0qwDw2dNZ2cff45gP3ZXpbshO yvxGndHtk22AuKQ2yT7VpX77jNve1dWJvLRBx9k0JNvid5FM5w6/3aaofzeJQ4lHN7IQ4W4wy PkJ/Fq+cB7dM+JDD Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1529 Lines: 44 > Jonathan Cameron hat am 30. Dezember 2016 um 20:09 geschrieben: > > > On 26/12/16 22:04, Stefan Wahren wrote: > > > >> Alexey Khoroshilov hat am 23. Dezember 2016 um 23:15 geschrieben: > >> > >> > >> During transition to using devm_input_allocate_device() > >> goto to resource deallocation block was replaced by return > >> in case of error in iio_device_register(). > >> That is wrong since resources are left undeallocated. > >> > >> Found by Linux Driver Verification project (linuxtesting.org). > >> > >> Signed-off-by: Alexey Khoroshilov > >> Fixes: 962ed43a3eac ("iio: mxs-lradc: remove mxs_lradc_ts_unregister") > > > > Acked-by: Stefan Wahren > > > > But since Ksenija's patch series [1] (which doesn't have this issue) this patch is only relevant for stable. > It's slightly doubtful as stable material as well unless it causes > a crash. Obviously failing to clean up isn't good, but its not critical > enough to justify the churn. > > Good find though. > > Should you wish to post it to stable and let the stable maintainers make > a decision feel free to do so. No, i don't have any plans for that. > > Jonathan > > > > Thanks > > > > [1] - http://marc.info/?l=linux-iio&m=148131774219426&w=2 > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > >