summaryrefslogtreecommitdiff
path: root/uapi/linux
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@codeaurora.org>2017-10-14 12:21:32 -0700
committersnandini <snandini@codeaurora.org>2017-10-18 16:34:03 -0700
commit11cf3001550c1481038eb892a272fae87909d5f1 (patch)
tree1b2929c63c7167313088558e2242565f9624bd8f /uapi/linux
parentd15c233d5ef58a12a4191592b664e2a0c78188e6 (diff)
qcacld-3.0: Fix checkpatch warnings (SPACING)
Fix checkpatch warnings (SPACING). Change-Id: I966fe641b4722cc15584defc42c90921090687fb CRs-Fixed: 2126814
Diffstat (limited to 'uapi/linux')
-rw-r--r--uapi/linux/osapi_linux.h2
-rw-r--r--uapi/linux/pktlog_ac_fmt.h6
-rw-r--r--uapi/linux/qca_vendor.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/uapi/linux/osapi_linux.h b/uapi/linux/osapi_linux.h
index b74b6a589d66..cc3e4cfe6ce0 100644
--- a/uapi/linux/osapi_linux.h
+++ b/uapi/linux/osapi_linux.h
@@ -83,7 +83,7 @@
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR, ## args)
#define A_PRINTF_LOG(args ...) \
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR, ## args)
-#define A_SNPRINTF(buf, len, args ...) snprintf (buf, len, args)
+#define A_SNPRINTF(buf, len, args ...) snprintf(buf, len, args)
/*
* Timer Functions
diff --git a/uapi/linux/pktlog_ac_fmt.h b/uapi/linux/pktlog_ac_fmt.h
index ee5b4abb402a..8b03aecb2e27 100644
--- a/uapi/linux/pktlog_ac_fmt.h
+++ b/uapi/linux/pktlog_ac_fmt.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -299,7 +299,7 @@ struct ath_pktlog_buf {
#define PKTLOG_MOV_RD_IDX(_rd_offset, _log_buf, _log_size) \
do { \
- if((_rd_offset + sizeof(struct ath_pktlog_hdr) + \
+ if ((_rd_offset + sizeof(struct ath_pktlog_hdr) + \
((struct ath_pktlog_hdr *)((_log_buf)->log_data + \
(_rd_offset)))->size) <= _log_size) { \
_rd_offset = ((_rd_offset) + sizeof(struct ath_pktlog_hdr) + \
@@ -311,7 +311,7 @@ struct ath_pktlog_buf {
} \
(_rd_offset) = (((_log_size) - (_rd_offset)) >= \
sizeof(struct ath_pktlog_hdr)) ? _rd_offset : 0; \
- } while(0)
+ } while (0)
/**
* enum tx_pkt_fate - tx packet fate
diff --git a/uapi/linux/qca_vendor.h b/uapi/linux/qca_vendor.h
index 6d8eb3b6f2b6..a407825ec88f 100644
--- a/uapi/linux/qca_vendor.h
+++ b/uapi/linux/qca_vendor.h
@@ -5067,7 +5067,7 @@ enum qca_wlan_vendor_attr_spectral_scan {
QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_AFTER_LAST - 1,
};
-#if !(defined (SUPPORT_WDEV_CFG80211_VENDOR_EVENT_ALLOC)) && \
+#if !(defined(SUPPORT_WDEV_CFG80211_VENDOR_EVENT_ALLOC)) && \
(LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 0)) && \
!(defined(WITH_BACKPORTS))