Renamed variable "Status" -> "status" in bcm_handle_nvm_read_cmd(). 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 328b93c..62bdec5 100644 --- a/drivers/staging/bcm/Bcmchar.c +++ b/drivers/staging/bcm/Bcmchar.c @@ -6,7 +6,7 @@ static int bcm_handle_nvm_read_cmd(struct bcm_mini_adapter *ad, PUCHAR read_data, struct bcm_nvm_readwrite *nvm_rw) { - INT Status = STATUS_FAILURE; + INT status = STATUS_FAILURE; down(&ad->NVMRdmWrmLock); @@ -21,14 +21,14 @@ static int bcm_handle_nvm_read_cmd(struct bcm_mini_adapter *ad, return -EACCES; } - Status = BeceemNVMRead(ad, (PUINT)read_data, + status = BeceemNVMRead(ad, (PUINT)read_data, nvm_rw->uiOffset, nvm_rw->uiNumBytes); up(&ad->NVMRdmWrmLock); - if (Status != STATUS_SUCCESS) { + if (status != STATUS_SUCCESS) { kfree(read_data); - return Status; + return status; } if (copy_to_user(nvm_rw->pBuffer, read_data, nvm_rw->uiNumBytes)) { -- 2.0.3 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel