summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/mc_config
diff options
context:
space:
mode:
authorBill Schwartz <whs@us.ibm.com>2012-10-10 10:36:29 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-10-12 16:29:17 -0500
commitb201169eeae76a7697f4f207dd583d40a2f07f66 (patch)
treea05fa3da99dddab0491623aebc1110e73d430bf7 /src/usr/hwpf/hwp/mc_config
parent3536e96bd3a1d490cec900617fab6703fb7798ea (diff)
downloadtalos-hostboot-b201169eeae76a7697f4f207dd583d40a2f07f66.tar.gz
talos-hostboot-b201169eeae76a7697f4f207dd583d40a2f07f66.zip
Memory Leak task_end
Change-Id: Idb7a2d8d72a55f644efd0b2548eca5df5d062e6d RTC: 47491 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2011 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/mc_config')
-rw-r--r--src/usr/hwpf/hwp/mc_config/mc_config.C16
-rw-r--r--src/usr/hwpf/hwp/mc_config/mc_config.H16
2 files changed, 16 insertions, 16 deletions
diff --git a/src/usr/hwpf/hwp/mc_config/mc_config.C b/src/usr/hwpf/hwp/mc_config/mc_config.C
index f58635ca5..d1cb61c14 100644
--- a/src/usr/hwpf/hwp/mc_config/mc_config.C
+++ b/src/usr/hwpf/hwp/mc_config/mc_config.C
@@ -80,7 +80,7 @@ using namespace fapi;
//
// Wrapper function to call 12.1 : host_collect_dimm_spd
//
-void call_host_collect_dimm_spd( void *io_pArgs )
+void* call_host_collect_dimm_spd( void *io_pArgs )
{
errlHndl_t l_err = NULL;
@@ -132,7 +132,7 @@ void call_host_collect_dimm_spd( void *io_pArgs )
TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "call_host_collect_dimm_spd exit" );
- task_end2( l_err );
+ return l_err;
}
@@ -140,7 +140,7 @@ void call_host_collect_dimm_spd( void *io_pArgs )
//
// Wrapper function to call 12.2 : mss_volt
//
-void call_mss_volt( void *io_pArgs )
+void* call_mss_volt( void *io_pArgs )
{
errlHndl_t l_err = NULL;
@@ -193,13 +193,13 @@ void call_mss_volt( void *io_pArgs )
TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "call_mss_volt exit" );
- task_end2( l_err );
+ return l_err;
}
//
// Wrapper function to call 12.3 : mss_freq
//
-void call_mss_freq( void *io_pArgs )
+void* call_mss_freq( void *io_pArgs )
{
errlHndl_t l_err = NULL;
@@ -246,7 +246,7 @@ void call_mss_freq( void *io_pArgs )
TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "call_mss_freq exit" );
- task_end2( NULL );
+ return l_err;
}
errlHndl_t call_mss_eff_grouping()
@@ -319,7 +319,7 @@ errlHndl_t call_mss_eff_grouping()
//
// Wrapper function to call 12.4 : mss_eff_config
//
-void call_mss_eff_config( void *io_pArgs )
+void* call_mss_eff_config( void *io_pArgs )
{
errlHndl_t l_err = NULL;
@@ -381,7 +381,7 @@ void call_mss_eff_config( void *io_pArgs )
TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "call_mss_eff_config exit" );
- task_end2( NULL );
+ return l_err;
}
diff --git a/src/usr/hwpf/hwp/mc_config/mc_config.H b/src/usr/hwpf/hwp/mc_config/mc_config.H
index 122c210c1..5108eb706 100644
--- a/src/usr/hwpf/hwp/mc_config/mc_config.H
+++ b/src/usr/hwpf/hwp/mc_config/mc_config.H
@@ -88,10 +88,10 @@ namespace MC_CONFIG
*
* param[in,out] io_pArgs - (normally) a pointer to a TaskArgs struct,
* or NULL.
- * return none
+ * return any error logs to istep
*
*/
-void call_host_collect_dimm_spd( void * io_pArgs );
+void* call_host_collect_dimm_spd( void * io_pArgs );
@@ -102,10 +102,10 @@ void call_host_collect_dimm_spd( void * io_pArgs );
*
* param[in,out] io_pArgs - (normally) a pointer to a TaskArgs struct,
* or NULL.
- * return none
+ * return any error logs to istep
*
*/
-void call_mss_volt( void * io_pArgs );
+void* call_mss_volt( void * io_pArgs );
@@ -116,10 +116,10 @@ void call_mss_volt( void * io_pArgs );
*
* param[in,out] io_pArgs - (normally) a pointer to a TaskArgs struct,
* or NULL.
- * return none
+ * return any error logs to istep
*
*/
-void call_mss_freq( void * io_pArgs );
+void* call_mss_freq( void * io_pArgs );
@@ -130,10 +130,10 @@ void call_mss_freq( void * io_pArgs );
*
* param[in,out] io_pArgs - (normally) a pointer to a TaskArgs struct,
* or NULL.
- * return none
+ * return any error logs to istep
*
*/
-void call_mss_eff_config( void * io_pArgs );
+void* call_mss_eff_config( void * io_pArgs );
}; // end namespace
OpenPOWER on IntegriCloud