We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c912fc8 commit 0386257Copy full SHA for 0386257
drivers/firmware/qcom/qcom_scm.c
@@ -2301,8 +2301,8 @@ static int qcom_scm_probe(struct platform_device *pdev)
2301
2302
__scm->mempool = devm_qcom_tzmem_pool_new(__scm->dev, &pool_config);
2303
if (IS_ERR(__scm->mempool)) {
2304
- dev_err_probe(__scm->dev, PTR_ERR(__scm->mempool),
2305
- "Failed to create the SCM memory pool\n");
+ ret = dev_err_probe(__scm->dev, PTR_ERR(__scm->mempool),
+ "Failed to create the SCM memory pool\n");
2306
goto err;
2307
}
2308
0 commit comments