qcacld-3.0: Fix checkpatch warnings (SPACING)
Fix checkpatch warnings (SPACING). Change-Id: I966fe641b4722cc15584defc42c90921090687fb CRs-Fixed: 2126814
This commit is contained in:

committed by
snandini

parent
828ef23f5e
commit
ea4d806da9
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2016 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2017 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
@@ -150,9 +150,9 @@ typedef struct _ATH_DEBUG_MODULE_DBG_INFO {
|
||||
#ifdef WLAN_DEBUG
|
||||
|
||||
/* for source files that will instantiate the debug variables */
|
||||
#define ATH_DEBUG_INSTANTIATE_MODULE_VAR(s,name,moddesc,initmask,count,descriptions) \
|
||||
#define ATH_DEBUG_INSTANTIATE_MODULE_VAR(s, name, moddesc, initmask, count, descriptions) \
|
||||
ATH_DEBUG_MODULE_DBG_INFO GET_ATH_MODULE_DEBUG_VAR_NAME(s) = \
|
||||
{NULL,(name),(moddesc),0,(initmask),count,(descriptions)}
|
||||
{NULL, (name), (moddesc), 0, (initmask), (count), (descriptions)}
|
||||
|
||||
#ifdef ATH_MODULE_NAME
|
||||
extern ATH_DEBUG_MODULE_DBG_INFO
|
||||
@@ -160,12 +160,12 @@ GET_ATH_MODULE_DEBUG_VAR_NAME(ATH_MODULE_NAME);
|
||||
#define AR_DEBUG_LVL_CHECK(lvl) (GET_ATH_MODULE_DEBUG_VAR_MASK(ATH_MODULE_NAME) & (lvl))
|
||||
#endif /* ATH_MODULE_NAME */
|
||||
|
||||
#define ATH_DEBUG_SET_DEBUG_MASK(s,lvl) GET_ATH_MODULE_DEBUG_VAR_MASK(s) = (lvl)
|
||||
#define ATH_DEBUG_SET_DEBUG_MASK(s, lvl) GET_ATH_MODULE_DEBUG_VAR_MASK(s) = (lvl)
|
||||
|
||||
#define ATH_DEBUG_DECLARE_EXTERN(s) \
|
||||
extern ATH_DEBUG_MODULE_DBG_INFO GET_ATH_MODULE_DEBUG_VAR_NAME(s)
|
||||
|
||||
#define AR_DEBUG_PRINTBUF(buffer, length, desc) debug_dump_bytes(buffer,length,desc)
|
||||
#define AR_DEBUG_PRINTBUF(buffer, length, desc) debug_dump_bytes(buffer, length, desc)
|
||||
|
||||
#define AR_DEBUG_ASSERT A_ASSERT
|
||||
|
||||
@@ -181,12 +181,12 @@ void a_register_module_debug_info(ATH_DEBUG_MODULE_DBG_INFO *pInfo);
|
||||
|
||||
#else /* !DEBUG */
|
||||
/* NON DEBUG */
|
||||
#define ATH_DEBUG_INSTANTIATE_MODULE_VAR(s,name,moddesc,initmask,count,descriptions)
|
||||
#define ATH_DEBUG_INSTANTIATE_MODULE_VAR(s, name, moddesc, initmask, count, descriptions)
|
||||
#define AR_DEBUG_LVL_CHECK(lvl) 0
|
||||
#define AR_DEBUG_PRINTBUF(buffer, length, desc)
|
||||
#define AR_DEBUG_ASSERT(test)
|
||||
#define ATH_DEBUG_DECLARE_EXTERN(s)
|
||||
#define ATH_DEBUG_SET_DEBUG_MASK(s,lvl)
|
||||
#define ATH_DEBUG_SET_DEBUG_MASK(s, lvl)
|
||||
#define A_DUMP_MODULE_DEBUG_INFO(s)
|
||||
#define A_REGISTER_MODULE_DEBUG_INFO(s)
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user