diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2011-09-12 14:58:16 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2011-09-13 12:44:49 -0500 |
commit | f00cbc2321649c74c078784a1fc47da3b10e1a54 (patch) | |
tree | e4bf96f22176dda426bc678602aef25bc95a3564 /src/usr/vfs | |
parent | 89dc4c2dc72a77bc278b388d66681e943fb6d539 (diff) | |
download | talos-hostboot-f00cbc2321649c74c078784a1fc47da3b10e1a54.tar.gz talos-hostboot-f00cbc2321649c74c078784a1fc47da3b10e1a54.zip |
Return code cleanups.
Change-Id: I375c2f895f28b73948aa384dda781b31f027719b
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/334
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/vfs')
-rw-r--r-- | src/usr/vfs/vfsrp.C | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/vfs/vfsrp.C b/src/usr/vfs/vfsrp.C index e31cd629a..723e565a3 100644 --- a/src/usr/vfs/vfsrp.C +++ b/src/usr/vfs/vfsrp.C @@ -112,7 +112,7 @@ errlHndl_t VfsRp::_init() errlHndl_t err = NULL; size_t rc = 0; iv_msgQ = msg_q_create(); - rc = msg_q_register(iv_msgQ, VFS_MSG); + rc = msg_q_register(iv_msgQ, VFS_ROOT_MSG_VFS); // Discover PNOR virtual address of extended image PNOR::SectionInfo_t l_pnor_info; @@ -325,7 +325,7 @@ void VfsRp::get_test_modules(std::vector<const char *> & o_list) const o_list.clear(); o_list.reserve(32); - VfsSystemModule * vfsItr = + VfsSystemModule * vfsItr = (VfsSystemModule *) (iv_pnor_vaddr + VFS_EXTENDED_MODULE_TABLE_OFFSET); //TRACDCOMP(g_trac_vfs,"finding test modules..."); @@ -341,7 +341,7 @@ void VfsRp::get_test_modules(std::vector<const char *> & o_list) const } } vfsItr++; - } + } } @@ -350,7 +350,7 @@ void VfsRp::get_test_modules(std::vector<const char *> & o_list) const errlHndl_t VFS::module_load_unload(const char * i_module, VfsMessages i_msgtype) { errlHndl_t err = NULL; - msg_q_t vfsQ = msg_q_resolve(VFS_MSG); + msg_q_t vfsQ = msg_q_resolve(VFS_ROOT_MSG_VFS); msg_t* msg = msg_allocate(); msg->type = i_msgtype; msg->data[0] = (uint64_t) i_module; |