Commit 6eb5d1db authored by Federico Vaga's avatar Federico Vaga

drv: vme ctx=NULL on error

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 78ed1b42
......@@ -370,6 +370,7 @@ static int zfad_dma_context_init_svec(struct zio_cset *cset,
err_reg_addr:
kfree(desc);
zfad_block->dma_ctx = NULL;
return err;
#else
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment