[PATCH 35/57] Staging: bcm: CmHost.c: Renamed variable: "ulAddrSFParamSet" -> "addr_sf_param_set"

Matthias Beyer mail at beyermatthias.de
Wed Aug 27 11:10:30 UTC 2014


Signed-off-by: Matthias Beyer <mail at beyermatthias.de>
---
 drivers/staging/bcm/CmHost.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c
index 92b5a89..d27759e 100644
--- a/drivers/staging/bcm/CmHost.c
+++ b/drivers/staging/bcm/CmHost.c
@@ -1407,34 +1407,34 @@ static VOID DumpCmControlPacket(PVOID buffer)
 }
 
 static inline ULONG RestoreSFParam(struct bcm_mini_adapter *ad,
-		ULONG ulAddrSFParamSet, PUCHAR pucDestBuffer)
+		ULONG addr_sf_param_set, PUCHAR pucDestBuffer)
 {
 	UINT  nBytesToRead = sizeof(struct bcm_connect_mgr_params);
 
-	if (ulAddrSFParamSet == 0 || NULL == pucDestBuffer) {
+	if (addr_sf_param_set == 0 || NULL == pucDestBuffer) {
 		BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, CONN_MSG, DBG_LVL_ALL,
 				"Got Param address as 0!!");
 		return 0;
 	}
-	ulAddrSFParamSet = ntohl(ulAddrSFParamSet);
+	addr_sf_param_set = ntohl(addr_sf_param_set);
 
 	/* Read out the SF Param Set At the indicated Location */
-	if (rdm(ad, ulAddrSFParamSet, (PUCHAR)pucDestBuffer, nBytesToRead) < 0)
+	if (rdm(ad, addr_sf_param_set, (PUCHAR)pucDestBuffer, nBytesToRead) < 0)
 		return STATUS_FAILURE;
 
 	return 1;
 }
 
 static ULONG StoreSFParam(struct bcm_mini_adapter *ad, PUCHAR pucSrcBuffer,
-		ULONG ulAddrSFParamSet)
+		ULONG addr_sf_param_set)
 {
 	UINT nBytesToWrite = sizeof(struct bcm_connect_mgr_params);
 	int ret = 0;
 
-	if (ulAddrSFParamSet == 0 || NULL == pucSrcBuffer)
+	if (addr_sf_param_set == 0 || NULL == pucSrcBuffer)
 		return 0;
 
-	ret = wrm(ad, ulAddrSFParamSet, (u8 *)pucSrcBuffer, nBytesToWrite);
+	ret = wrm(ad, addr_sf_param_set, (u8 *)pucSrcBuffer, nBytesToWrite);
 	if (ret < 0) {
 		BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, CONN_MSG, DBG_LVL_ALL,
 				"%s:%d WRM failed", __func__, __LINE__);
-- 
2.1.0



More information about the devel mailing list