Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[JIRA ID: ODUHIGH-232]: RB config for MAC and SCH
[o-du/l2.git]
/
src
/
du_app
/
du_cfg.c
diff --git
a/src/du_app/du_cfg.c
b/src/du_app/du_cfg.c
index
6f8f880
..
3e82104
100644
(file)
--- a/
src/du_app/du_cfg.c
+++ b/
src/du_app/du_cfg.c
@@
-769,7
+769,7
@@
uint8_t duReadCfg()
Pst pst;
Buffer *mBuf;
Pst pst;
Buffer *mBuf;
- memset(
(uint8_t *)
&duCfgParam, 0, sizeof(DuCfgParams));
+ memset(&duCfgParam, 0, sizeof(DuCfgParams));
//Read configs into duCfgParams
if(readCfg() != ROK)
{
//Read configs into duCfgParams
if(readCfg() != ROK)
{
@@
-778,7
+778,7
@@
uint8_t duReadCfg()
}
//Fill pst structure
}
//Fill pst structure
- memset(
(uint8_t *)
&(pst), 0, sizeof(Pst));
+ memset(&(pst), 0, sizeof(Pst));
pst.srcEnt = (Ent)ENTDUAPP;
pst.srcInst = (Inst)DU_INST;
pst.srcProcId = DU_PROC;
pst.srcEnt = (Ent)ENTDUAPP;
pst.srcInst = (Inst)DU_INST;
pst.srcProcId = DU_PROC;
@@
-790,7
+790,7
@@
uint8_t duReadCfg()
pst.pool= DU_POOL;
pst.pool= DU_POOL;
- if(ODU_GET_MSG(DFLT_REGION, DU_POOL, &mBuf) != ROK)
+ if(ODU_GET_MSG
_BUF
(DFLT_REGION, DU_POOL, &mBuf) != ROK)
{
DU_LOG("\nDU_APP : Memory allocation failed in duReadCfg");
return RFAILED;
{
DU_LOG("\nDU_APP : Memory allocation failed in duReadCfg");
return RFAILED;