[PATCH 07/44] Staging: bcm: Bcmchar.c: Renamed variable "stNVMReadWrite" -> "nvm_rw"
Matthias Beyer
mail at beyermatthias.de
Sun Aug 3 15:37:07 UTC 2014
Renamed variable "stNVMReadWrite" -> "nvm_rw" in
handle_flash2x_adapter().
Signed-off-by: Matthias Beyer <mail at beyermatthias.de>
---
drivers/staging/bcm/Bcmchar.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c
index d2e330a..328b93c 100644
--- a/drivers/staging/bcm/Bcmchar.c
+++ b/drivers/staging/bcm/Bcmchar.c
@@ -41,7 +41,7 @@ static int bcm_handle_nvm_read_cmd(struct bcm_mini_adapter *ad,
static int handle_flash2x_adapter(struct bcm_mini_adapter *ad,
PUCHAR read_data,
- struct bcm_nvm_readwrite *stNVMReadWrite)
+ struct bcm_nvm_readwrite *nvm_rw)
{
/*
* New Requirement:-
@@ -65,9 +65,9 @@ static int handle_flash2x_adapter(struct bcm_mini_adapter *ad,
if (Status == STATUS_SUCCESS)
return STATUS_SUCCESS;
- if (((stNVMReadWrite->uiOffset + stNVMReadWrite->uiNumBytes) !=
+ if (((nvm_rw->uiOffset + nvm_rw->uiNumBytes) !=
ad->uiNVMDSDSize) ||
- (stNVMReadWrite->uiNumBytes < SIGNATURE_SIZE)) {
+ (nvm_rw->uiNumBytes < SIGNATURE_SIZE)) {
BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL,
"DSD Sig is present neither in Flash nor User provided Input..");
@@ -77,7 +77,7 @@ static int handle_flash2x_adapter(struct bcm_mini_adapter *ad,
}
ulDSDMagicNumInUsrBuff =
- ntohl(*(PUINT)(read_data + stNVMReadWrite->uiNumBytes -
+ ntohl(*(PUINT)(read_data + nvm_rw->uiNumBytes -
SIGNATURE_SIZE));
if (ulDSDMagicNumInUsrBuff != DSD_IMAGE_MAGIC_NUMBER) {
BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL,
--
2.0.3
More information about the devel
mailing list