Thread (2 messages) flat view 2 messages, 2 authors, 2016-09-12

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

From: Borislav Petkov <bp@alien8.de>
Date: 2016-09-12 11:20:40

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@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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help