X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Flwr_mac_upr_inf.c;h=4a7319a1137b50ba221d985a1a6f184febf0ebd4;hb=d0d5d7b78e2a24af16003322cfd1c78bcd8d7664;hp=9b92d6af85e45b8b28dee686e8c8dc4964fab385;hpb=9634ca974c4418c0800090e33d37ef1fe7e8cb30;p=o-du%2Fl2.git diff --git a/src/5gnrmac/lwr_mac_upr_inf.c b/src/5gnrmac/lwr_mac_upr_inf.c index 9b92d6af8..4a7319a11 100644 --- a/src/5gnrmac/lwr_mac_upr_inf.c +++ b/src/5gnrmac/lwr_mac_upr_inf.c @@ -42,7 +42,7 @@ uint8_t packCrcInd(Pst *pst, CrcInd *crcInd) Buffer *mBuf = NULLP; if(ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK) { - printf("\nLWR_MAC: Memory allocation failed in packCrcInd"); + DU_LOG("\nERROR --> LWR_MAC: Memory allocation failed in packCrcInd"); return RFAILED; } CMCHKPK(oduPackPointer,(PTR)crcInd, mBuf); @@ -107,7 +107,7 @@ uint8_t packRxDataInd(Pst *pst, RxDataInd *rxDataInd) Buffer *mBuf = NULLP; if(ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK) { - printf("\nLWR_MAC: Memory allocation failed in packRxDataInd"); + DU_LOG("\nERROR --> LWR_MAC: Memory allocation failed in packRxDataInd"); return RFAILED; } CMCHKPK(oduPackPointer,(PTR)rxDataInd, mBuf); @@ -172,7 +172,7 @@ uint8_t packRachInd(Pst *pst, RachInd *rachInd) Buffer *mBuf = NULLP; if(ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK) { - printf("\nLWR_MAC: Memory allocation failed in packRachInd"); + DU_LOG("\nERROR --> LWR_MAC: Memory allocation failed in packRachInd"); return RFAILED; } CMCHKPK(oduPackPointer,(PTR)rachInd, mBuf); @@ -236,7 +236,7 @@ uint8_t packSlotInd (Pst *pst, SlotIndInfo *slotInd) Buffer *mBuf = NULLP; if(ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK) { - printf("\nLWR_MAC: Memory allocation failed in packSlotInd"); + DU_LOG("\nERROR --> LWR_MAC: Memory allocation failed in packSlotInd"); return RFAILED; } CMCHKPK(oduPackPointer,(PTR)slotInd, mBuf); @@ -300,7 +300,7 @@ uint8_t packStopInd(Pst *pst, uint16_t *cellId) Buffer *mBuf = NULLP; if(ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK) { - printf("\nLWR_MAC: Memory allocation failed in packStopInd"); + DU_LOG("\nERROR --> LWR_MAC: Memory allocation failed in packStopInd"); return RFAILED; } CMCHKPK(oduPackPointer,(PTR)cellId, mBuf); @@ -363,7 +363,7 @@ uint8_t packUciInd(Pst *pst, UciInd *uciInd) Buffer *mBuf = NULLP; if(ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK) { - printf("\nLWR_MAC: Memory allocation failed in packUciInd"); + DU_LOG("\nERROR --> LWR_MAC: Memory allocation failed in packUciInd"); return RFAILED; } CMCHKPK(oduPackPointer,(PTR)uciInd, mBuf);