qcacmn: Move panic messages into QDF_DEBUG_PANIC

QDF_DEBUG_PANIC has recently gained a reason parameter. Move instance of
logging followed immediately by QDF_DEBUG_PANIC to single calls.

Change-Id: Ifc00be410621005e8494074ed00b1b7e44cc6a03
CRs-Fixed: 2271769
这个提交包含在:
Dustin Brown
2018-06-27 15:22:06 -07:00
提交者 nshrivas
父节点 9791957823
当前提交 fe41df9c00
修改 5 个文件,包含 19 行新增33 行删除

查看文件

@@ -147,8 +147,7 @@ static void __qdf_flex_mem_free(struct qdf_flex_mem_pool *pool, void *ptr)
return;
}
qdf_err("Failed to find pointer in segment pool");
QDF_DEBUG_PANIC();
QDF_DEBUG_PANIC("Failed to find pointer in segment pool");
}
void qdf_flex_mem_free(struct qdf_flex_mem_pool *pool, void *ptr)