qcacmn: include stdarg header file with correct path
For kernel version 5.15 or later, include linux/stdarg.h in i_qdf_types.h and for older versions include stdarg.h. Also remove inclusion of stdarg.h from dp_internal.h, qdf_trace.h and qdf_types.h files. Change-Id: I2eaa1af06fda0ac07a1be3d245f197de0b85719d CRs-Fixed: 3295172
这个提交包含在:
@@ -953,7 +953,6 @@ enum timer_yield_status {
|
||||
};
|
||||
|
||||
#if DP_PRINT_ENABLE
|
||||
#include <stdarg.h> /* va_list */
|
||||
#include <qdf_types.h> /* qdf_vprint */
|
||||
#include <cdp_txrx_handle.h>
|
||||
|
||||
|
@@ -28,7 +28,6 @@
|
||||
|
||||
/* Include Files */
|
||||
#include <qdf_types.h> /* For QDF_MODULE_ID... */
|
||||
#include <stdarg.h> /* For va_list... */
|
||||
#include <qdf_status.h>
|
||||
#include <qdf_nbuf.h>
|
||||
#include <i_qdf_types.h>
|
||||
|
@@ -29,7 +29,6 @@
|
||||
|
||||
/* Include Files */
|
||||
#include <i_qdf_types.h>
|
||||
#include <stdarg.h>
|
||||
#ifdef TSOSEG_DEBUG
|
||||
#include <qdf_atomic.h>
|
||||
#endif
|
||||
|
@@ -42,6 +42,11 @@
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#include <generated/autoconf.h>
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0))
|
||||
#include <linux/stdarg.h>
|
||||
#else
|
||||
#include <stdarg.h>
|
||||
#endif
|
||||
#include <linux/list.h>
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/types.h>
|
||||
|
在新工单中引用
屏蔽一个用户