Renamed variable "pReadData" -> "read_data" in handle_flash2x_adapter(). Signed-off-by: Matthias Beyer <mail@xxxxxxxxxxxxxxxx> --- 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 774ec12..d2e330a 100644 --- a/drivers/staging/bcm/Bcmchar.c +++ b/drivers/staging/bcm/Bcmchar.c @@ -40,7 +40,7 @@ static int bcm_handle_nvm_read_cmd(struct bcm_mini_adapter *ad, } static int handle_flash2x_adapter(struct bcm_mini_adapter *ad, - PUCHAR pReadData, + PUCHAR read_data, struct bcm_nvm_readwrite *stNVMReadWrite) { /* @@ -72,18 +72,18 @@ static int handle_flash2x_adapter(struct bcm_mini_adapter *ad, BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL, "DSD Sig is present neither in Flash nor User provided Input.."); up(&ad->NVMRdmWrmLock); - kfree(pReadData); + kfree(read_data); return Status; } ulDSDMagicNumInUsrBuff = - ntohl(*(PUINT)(pReadData + stNVMReadWrite->uiNumBytes - + ntohl(*(PUINT)(read_data + stNVMReadWrite->uiNumBytes - SIGNATURE_SIZE)); if (ulDSDMagicNumInUsrBuff != DSD_IMAGE_MAGIC_NUMBER) { BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL, "DSD Sig is present neither in Flash nor User provided Input.."); up(&ad->NVMRdmWrmLock); - kfree(pReadData); + kfree(read_data); return Status; } -- 2.0.3 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel