Re: [PATCH] dma: of-dma: check OF pointer property before dereferencing it

2013-04-15 Thread Lars-Peter Clausen
On 04/15/2013 10:39 AM, Paolo Pisati wrote: > Signed-off-by: Paolo Pisati That should already be fixed in the DMA tree. See commit 7362f04c28 ("DMA: OF: Check properties value before running be32_to_cpup() on it"). - Lars > --- > drivers/dma/of-dma.c |7 +-- > 1 file changed, 5

[PATCH] dma: of-dma: check OF pointer property before dereferencing

2013-04-15 Thread Paolo Pisati
Unable to handle kernel NULL pointer dereference at virtual address pgd = c0004000 [] *pgd= Internal error: Oops: 5 [#1] SMP ARM CPU: 0Tainted: GW (3.9.0-rc739rc7fix1-dirty #10) PC is at of_dma_controller_register+0xb8/0x11c LR is at

[PATCH] dma: of-dma: check OF pointer property before dereferencing it

2013-04-15 Thread Paolo Pisati
Signed-off-by: Paolo Pisati --- drivers/dma/of-dma.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/dma/of-dma.c b/drivers/dma/of-dma.c index 69d04d2..9628298 100644 --- a/drivers/dma/of-dma.c +++ b/drivers/dma/of-dma.c @@ -91,6 +91,7 @@ int

[PATCH] dma: of-dma: check OF pointer property before dereferencing it

2013-04-15 Thread Paolo Pisati
Signed-off-by: Paolo Pisati paolo.pis...@canonical.com --- drivers/dma/of-dma.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/dma/of-dma.c b/drivers/dma/of-dma.c index 69d04d2..9628298 100644 --- a/drivers/dma/of-dma.c +++ b/drivers/dma/of-dma.c @@ -91,6

[PATCH] dma: of-dma: check OF pointer property before dereferencing

2013-04-15 Thread Paolo Pisati
Unable to handle kernel NULL pointer dereference at virtual address pgd = c0004000 [] *pgd= Internal error: Oops: 5 [#1] SMP ARM CPU: 0Tainted: GW (3.9.0-rc739rc7fix1-dirty #10) PC is at of_dma_controller_register+0xb8/0x11c LR is at

Re: [PATCH] dma: of-dma: check OF pointer property before dereferencing it

2013-04-15 Thread Lars-Peter Clausen
On 04/15/2013 10:39 AM, Paolo Pisati wrote: Signed-off-by: Paolo Pisati paolo.pis...@canonical.com That should already be fixed in the DMA tree. See commit 7362f04c28 (DMA: OF: Check properties value before running be32_to_cpup() on it). - Lars --- drivers/dma/of-dma.c |7 +-- 1