Messages in this thread | | | Date | Fri, 25 Oct 2019 09:52:19 +0100 | From | Daniel Thompson <> | Subject | Re: [PATCH v3 08/10] mfd: mfd-core: Protect against NULL call-back function pointer |
| |
On Thu, Oct 24, 2019 at 05:38:30PM +0100, Lee Jones wrote: > If a child device calls mfd_cell_{en,dis}able() without an appropriate > call-back being set, we are likely to encounter a panic. Avoid this > by adding suitable checking. > > Signed-off-by: Lee Jones <lee.jones@linaro.org> > Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Shouldn't this be earlier in the patch set (to avoid transient regressions)?
Daniel.
| |