mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
Merge "qcacmn: Replace printk with qdf_nofl_info"
This commit is contained in:
commit
fb263dc4bd
3 changed files with 6 additions and 6 deletions
|
|
@ -27,6 +27,7 @@
|
|||
/* Include Files */
|
||||
#include <qdf_types.h>
|
||||
#include <i_qdf_mem.h>
|
||||
#include <i_qdf_trace.h>
|
||||
|
||||
#define QDF_CACHE_LINE_SZ __qdf_cache_line_sz
|
||||
|
||||
|
|
@ -621,7 +622,7 @@ static inline void qdf_update_mem_map_table(qdf_device_t osdev,
|
|||
uint32_t mem_size)
|
||||
{
|
||||
if (!mem_info) {
|
||||
__qdf_print("%s: NULL mem_info\n", __func__);
|
||||
qdf_nofl_err("%s: NULL mem_info", __func__);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -818,8 +819,8 @@ static inline void qdf_mem_shared_mem_free(qdf_device_t osdev,
|
|||
qdf_shared_mem_t *shared_mem)
|
||||
{
|
||||
if (!shared_mem) {
|
||||
__qdf_print("%s: NULL shared mem struct passed\n",
|
||||
__func__);
|
||||
qdf_nofl_err("%s: NULL shared mem struct passed",
|
||||
__func__);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@
|
|||
do { \
|
||||
if (!spin_is_locked(x)) { \
|
||||
WARN_ON(1); \
|
||||
printk(KERN_EMERG " %s:%d unlock addr=%pK, %s \n", __func__, __LINE__, x, \
|
||||
!spin_is_locked(x) ? "Not locked" : ""); \
|
||||
qdf_info("unlock addr=%pK, %s", x, \
|
||||
!spin_is_locked(x) ? "Not locked" : ""); \
|
||||
} \
|
||||
spin_unlock_bh(x); \
|
||||
} while (0)
|
||||
|
|
|
|||
|
|
@ -329,7 +329,6 @@ enum __qdf_net_wireless_evcode {
|
|||
__QDF_CUSTOM_PUSH_BUTTON = IWEVCUSTOM,
|
||||
};
|
||||
|
||||
#define __qdf_print printk
|
||||
#define __qdf_vprint vprintk
|
||||
#define __qdf_snprint snprintf
|
||||
#define __qdf_vsnprint vsnprintf
|
||||
|
|
|
|||
Loading…
Reference in a new issue