Skip to contentSkip to conversation

dmaengine: sprd: fix an NULL vs IS_ERR() bug

DISCUSSION Vinod Koul 1 participant 1 message May 17, 2018

Subsystems (2)
lore
Share & tools
lore

Vinod Koul

author maintainer Applied
#0 lore raw
Quoted 3 lines · Dan Carpenter

We recently cleaned this code up but we need to update the error handling as well. The devm_ioremap_resource() returns error pointers on error, never NULL.

Applied, thanks