Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1547398
| From | Stefan Wahren <stefan.wahren@i2se.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] iio: mxs-lradc: fix error handling in mxs_lradc_probe() |
| Date | 2016-12-26 23:10 +0100 |
| Message-ID | <sSLCV-24U-1@gated-at.bofh.it> (permalink) |
| References | <sRGlX-4lT-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> Alexey Khoroshilov <khoroshilov@ispras.ru> 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 <khoroshilov@ispras.ru>
> Fixes: 962ed43a3eac ("iio: mxs-lradc: remove mxs_lradc_ts_unregister")
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
But since Ksenija's patch series [1] (which doesn't have this issue) this patch is only relevant for stable.
Thanks
[1] - http://marc.info/?l=linux-iio&m=148131774219426&w=2
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] iio: mxs-lradc: fix error handling in mxs_lradc_probe() Alexey Khoroshilov <khoroshilov@ispras.ru> - 2016-12-23 23:20 +0100
Re: [PATCH] iio: mxs-lradc: fix error handling in mxs_lradc_probe() Stefan Wahren <stefan.wahren@i2se.com> - 2016-12-26 23:10 +0100
Re: [PATCH] iio: mxs-lradc: fix error handling in mxs_lradc_probe() Jonathan Cameron <jic23@kernel.org> - 2016-12-30 20:10 +0100
Re: [PATCH] iio: mxs-lradc: fix error handling in mxs_lradc_probe() Stefan Wahren <stefan.wahren@i2se.com> - 2016-12-30 21:20 +0100
csiph-web