Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1341697
| From | Jon Hunter <jonathanh@nvidia.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] regulator: core: fix error path of regulator_ena_gpio_free |
| Date | 2016-02-24 10:30 +0100 |
| Message-ID | <r5DVD-2sk-1@gated-at.bofh.it> (permalink) |
| References | <r5mUN-7eb-5@gated-at.bofh.it> <r5CZA-1JL-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 24/02/16 08:27, Krzysztof Adamski wrote:
> This problem was introduced by:
> commit daad134d6649 ("regulator: core: Request GPIO before creating
> sysfs entries")
>
> The error path was not updated correctly and in case
> regulator_ena_gpio_free failed, device_unregister was called even though
> it was not registered yet.
>
> Signed-off-by: Krzysztof Adamski <krzysztof.adamski@tieto.com>
> Reported-by: Jon Hunter <jonathanh@nvidia.com>
Make sure you tag the patch as V2, etc, so that Mark knows which version
to pick up.
Jon
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: regulator: core: Request GPIO before creating sysfs entries Jon Hunter <jonathanh@nvidia.com> - 2016-02-23 15:20 +0100
Re: regulator: core: Request GPIO before creating sysfs entries Krzysztof Adamski <krzysztof.adamski@tieto.com> - 2016-02-23 15:40 +0100
[PATCH] regulator: core: fix error path of regulator_ena_gpio_free Krzysztof Adamski <krzysztof.adamski@tieto.com> - 2016-02-23 15:50 +0100
Re: [PATCH] regulator: core: fix error path of regulator_ena_gpio_free Jon Hunter <jonathanh@nvidia.com> - 2016-02-23 16:20 +0100
Re: [PATCH] regulator: core: fix error path of regulator_ena_gpio_free Krzysztof Adamski <krzysztof.adamski@tieto.com> - 2016-02-24 09:30 +0100
Re: [PATCH] regulator: core: fix error path of regulator_ena_gpio_free Jon Hunter <jonathanh@nvidia.com> - 2016-02-24 10:10 +0100
[PATCH] regulator: core: fix error path of regulator_ena_gpio_free Krzysztof Adamski <krzysztof.adamski@tieto.com> - 2016-02-24 09:30 +0100
Re: [PATCH] regulator: core: fix error path of regulator_ena_gpio_free Jon Hunter <jonathanh@nvidia.com> - 2016-02-24 10:20 +0100
[PATCH v3] regulator: core: fix crash in error path of regulator_register Krzysztof Adamski <krzysztof.adamski@tieto.com> - 2016-02-24 12:00 +0100
Re: [PATCH] regulator: core: fix error path of regulator_ena_gpio_free Jon Hunter <jonathanh@nvidia.com> - 2016-02-24 10:30 +0100
Re: [PATCH] regulator: core: fix error path of regulator_ena_gpio_free Mark Brown <broonie@kernel.org> - 2016-02-25 02:50 +0100
csiph-web