summaryrefslogtreecommitdiff
path: root/uapi
diff options
context:
space:
mode:
authorAnurag Chouhan <achouhan@codeaurora.org>2016-02-20 16:05:43 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-03-24 11:57:54 -0700
commit6d760664eee7fc5dd0f3fe6c449049551ffa4cd3 (patch)
treef53d238863377d75e6e0acab7f902965fb5346cb /uapi
parent754fbd8d95652b4186ee7fb2c23ebcf88ec83bfe (diff)
qcacld-3.0: Add QDF types
Replace CDF types with QDF types Change-Id: Idd6e65b148efb54f22d6951572957f1c6166465b CRs-Fixed: 981188
Diffstat (limited to 'uapi')
-rw-r--r--uapi/linux/osapi_linux.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/uapi/linux/osapi_linux.h b/uapi/linux/osapi_linux.h
index 4fa05bbb57e9..75c69b794e58 100644
--- a/uapi/linux/osapi_linux.h
+++ b/uapi/linux/osapi_linux.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2015 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2013-2016 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -72,11 +72,11 @@
#define A_MEMCMP(addr1, addr2, len) memcmp((addr1), (addr2), (len))
#define A_LOGGER(mask, mod, args ...) \
- CDF_TRACE(CDF_MODULE_ID_CDF, CDF_TRACE_LEVEL_ERROR, ## args)
+ CDF_TRACE(QDF_MODULE_ID_QDF, CDF_TRACE_LEVEL_ERROR, ## args)
#define A_PRINTF(args ...) \
- CDF_TRACE(CDF_MODULE_ID_CDF, CDF_TRACE_LEVEL_ERROR, ## args)
+ CDF_TRACE(QDF_MODULE_ID_QDF, CDF_TRACE_LEVEL_ERROR, ## args)
#define A_PRINTF_LOG(args ...) \
- CDF_TRACE(CDF_MODULE_ID_CDF, CDF_TRACE_LEVEL_ERROR, ## args)
+ CDF_TRACE(QDF_MODULE_ID_QDF, CDF_TRACE_LEVEL_ERROR, ## args)
#define A_SNPRINTF(buf, len, args ...) snprintf (buf, len, args)
/*
@@ -132,13 +132,13 @@ typedef struct timer_list A_TIMER;
extern unsigned int panic_on_assert;
#define A_ASSERT(expr) \
if (!(expr)) { \
- printk(KERN_ALERT "Debug Assert Caught, File %s, Line: %d, Test:%s \n",__FILE__, __LINE__,# expr); \
+ printk(KERN_ALERT "Debug Assert Caught, File %s, Line: %d, Test:%s \n", __FILE__, __LINE__, # expr); \
if (panic_on_assert) panic(# expr); \
}
#else
#define A_ASSERT(expr) \
if (!(expr)) { \
- printk(KERN_ALERT "Debug Assert Caught, File %s, Line: %d, Test:%s \n",__FILE__, __LINE__,# expr); \
+ printk(KERN_ALERT "Debug Assert Caught, File %s, Line: %d, Test:%s \n", __FILE__, __LINE__, # expr); \
}
#endif
#else
@@ -170,13 +170,13 @@ typedef struct sk_buff_head A_NETBUF_QUEUE_T;
a_netbuf_push(bufPtr, len)
#define A_NETBUF_PUT(bufPtr, len) \
a_netbuf_put(bufPtr, len)
-#define A_NETBUF_TRIM(bufPtr,len) \
+#define A_NETBUF_TRIM(bufPtr, len) \
a_netbuf_trim(bufPtr, len)
#define A_NETBUF_PULL(bufPtr, len) \
a_netbuf_pull(bufPtr, len)
#define A_NETBUF_HEADROOM(bufPtr) \
a_netbuf_headroom(bufPtr)
-#define A_NETBUF_SETLEN(bufPtr,len) \
+#define A_NETBUF_SETLEN(bufPtr, len) \
a_netbuf_setlen(bufPtr, len)
/* Add data to end of a buffer */
@@ -197,7 +197,7 @@ typedef struct sk_buff_head A_NETBUF_QUEUE_T;
/* View data as "size" contiguous bytes of type "t" */
#define A_NETBUF_VIEW_DATA(bufPtr, t, size) \
- (t )( ((struct skbuf *)(bufPtr))->data)
+ (t)(((struct skbuf *)(bufPtr))->data)
/* return the beginning of the headroom for the buffer */
#define A_NETBUF_HEAD(bufPtr) \