[PATCH v2] drivers/edac: NO_IRQ removal from powerpc-only drivers

Borislav Petkov bp at alien8.de
Mon Sep 12 21:20:35 AEST 2016


On Mon, Sep 12, 2016 at 08:00:36PM +1000, Michael Ellerman wrote:
> We'd like to eventually remove NO_IRQ on powerpc, so remove usages of it
> from powerpc-only drivers.
> 
> The pdata structs are kzalloc'ed, so we don't need to initialise those
> to 0, we can just drop the assignments entirely.
> 
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
> ---
> v2: Don't initialise pdata fields to 0, the entire struct is kzalloc'ed.
> 
> mpc85xx_edac.c is not shared with arm64. It is built together with
> fsl_ddr_edac.c on powerpc to form mpc85xx_edac. On arm64 fsl_ddr_edac.c is
> built with layerscape_edac.c to form layerscape_edac. So changing
> mpc85xx_edac.c has no dependency on arm64 changes.
> 
> 
>  drivers/edac/mpc85xx_edac.c | 2 --
>  drivers/edac/mv64x60_edac.c | 4 ----
>  drivers/edac/ppc4xx_edac.c  | 4 +---
>  3 files changed, 1 insertion(+), 9 deletions(-)

Applied, thanks.

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.


More information about the Linuxppc-dev mailing list