Re: [PATCH] EDAC: mv64x60: sanity check edac_op_state before registering

From: Borislav Petkov
Date: Fri Jun 09 2017 - 06:01:47 EST


On Thu, Jun 08, 2017 at 09:55:30AM +1200, Chris Packham wrote:
> edac_op_state is a module parameter which affects the behaviour of the
> driver probe which can potentially be invoked as soon as the platform
> driver registration happens. Because of this we need to ensure that we
> sanity check the module parameter before calling
> platform_register_drivers().
>
> Signed-off-by: Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>
> ---
> drivers/edac/mv64x60_edac.c | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)

Applied to

git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git#for-next

Thanks.

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.