This CDF_TRACE macro is declared in i_cdf_trace.h and is used when MSM_PLATFORM is not enabled. But the inclusion is not in the cdf_nbuf.h, so that it causes the compilation issue, while CDF_TRACE is not found. Since this function is used on the data path, so that the warning is not necessary for non MSM platform. And also refactor it to avoid compile flag inside the function. Change-Id: I061eb35f5eee21c76fd486d378e53b35c02b5636 CRs-fixed: 966754 |
||
---|---|---|
.. | ||
inc | ||
src |