@@ -213,7 +213,7 @@ extern dsp_status cod_get_loader(struct cod_manager *cod_mgr_obj,
* Returns:
* 0: Success
* COD_E_NOSYMBOLSLOADED: Symbols have not been loaded onto the board.
- * COD_E_SYMBOLNOTFOUND: The symbol could not be found.
+ * -ESPIPE: The symbol could not be found.
* Requires:
* COD module initialized.
* valid cod_mgr_obj.
@@ -243,7 +243,7 @@ extern dsp_status cod_get_section(struct cod_libraryobj *lib,
* Returns:
* 0: Success.
* COD_E_NOSYMBOLSLOADED: Symbols have not been loaded onto the board.
- * COD_E_SYMBOLNOTFOUND: The symbol could not be found.
+ * -ESPIPE: The symbol could not be found.
* Requires:
* COD module initialized.
* Valid cod_mgr_obj.
@@ -493,7 +493,7 @@ extern dsp_status dev_get_node_manager(struct dev_object
* 0: Success.
* -EFAULT: Invalid hdev_obj.
* COD_E_NOSYMBOLSLOADED: Symbols have not been loaded onto the board.
- * COD_E_SYMBOLNOTFOUND: The symbol could not be found.
+ * -ESPIPE: The symbol could not be found.
* Requires:
* pstrSym != NULL.
* pul_value != NULL.
@@ -450,7 +450,7 @@ dsp_status cod_get_sym_value(struct cod_manager *hmgr, char *pstrSym,
get_addr_fxn(hmgr->base_lib, pstrSym, &dbll_sym)) {
if (!hmgr->fxns.
get_c_addr_fxn(hmgr->base_lib, pstrSym, &dbll_sym))
- return COD_E_SYMBOLNOTFOUND;
+ return -ESPIPE;
}
} else {
return COD_E_NOSYMBOLSLOADED;
@@ -3098,7 +3098,7 @@ static dsp_status get_rms_fxns(struct node_mgr *hnode_mgr)
status = dev_get_symbol(dev_obj, psz_fxns[i],
&(hnode_mgr->ul_fxn_addrs[i]));
if (DSP_FAILED(status)) {
- if (status == COD_E_SYMBOLNOTFOUND) {
+ if (status == -ESPIPE) {
/*
* May be loaded dynamically (in the future),
* but return an error for now.
@@ -970,7 +970,7 @@ dsp_status proc_load(void *hprocessor, IN CONST s32 argc_index,
dev_dbg(bridge, "%s: Failure to Load the EXE\n",
__func__);
}
- if (status == COD_E_SYMBOLNOTFOUND) {
+ if (status == -ESPIPE) {
pr_err("%s: Couldn't parse the file\n",
__func__);
}