Skip to contentSkip to conversation

DMA-API warning from sunhme - unchecked dma_map_single error

DISCUSSION Meelis Roos 2 participants 2 messages Oct 31, 2014 – Nov 1, 2014 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 5 lines
Quoted 3 lines

It seems to be correct warning - dma_map_single is used unchecked in sunhme.c. I can try fixing it - the error handling will be the only problem. Is it considered worthwile?

Can you test this patch?

It works fine on E3500 where I had many debugging options on and caught it. No warnings, network still works.

Signature · 1 line
Meelis Roos ([email protected])
maintainer
#2 lore raw

From: Meelis Roos <[email protected]>
Date: Fri, 31 Oct 2014 23:01:09 +0200 (EET)

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

It seems to be correct warning - dma_map_single is used unchecked in sunhme.c. I can try fixing it - the error handling will be the only problem. Is it considered worthwile?

Can you test this patch?

It works fine on E3500 where I had many debugging options on and caught it. No warnings, network still works.

Thanks for testing, I'll push this to Linus and -stable soon.