Skip to content
Commit 9f9ff20d authored by Dan Carpenter's avatar Dan Carpenter Committed by Dan Williams
Browse files

dma/shdma: move dereference below the NULL check



"param" can be NULL here, so only dereference it after the check.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent b30a3f62
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