diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2014-08-27 14:58:09 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-31 00:01:39 +0400 |
commit | bd5148325d05a1b8e8fae92ea62b8d763ad883b1 (patch) | |
tree | 60b41f3dcbbaf8864d4084ec84681f4aba718a20 /drivers/staging/bcm | |
parent | 3f1d98eab69ba478ceb40f4e0400fcdab98ae380 (diff) | |
download | linux-bd5148325d05a1b8e8fae92ea62b8d763ad883b1.tar.xz |
Staging: bcm: Bcmchar.c: Renamed variable: "stNVMRead" -> "nvm_read"
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm')
-rw-r--r-- | drivers/staging/bcm/Bcmchar.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index 577067ca3402..290a6747d31e 100644 --- a/drivers/staging/bcm/Bcmchar.c +++ b/drivers/staging/bcm/Bcmchar.c @@ -2159,7 +2159,7 @@ static int bcm_char_ioctl_select_dsd(void __user *argp, static int bcm_char_ioctl_nvm_raw_read(void __user *argp, struct bcm_mini_adapter *ad) { - struct bcm_nvm_readwrite stNVMRead; + struct bcm_nvm_readwrite nvm_read; struct bcm_ioctl_buffer io_buff; unsigned int NOB; INT buff_size; @@ -2182,11 +2182,11 @@ static int bcm_char_ioctl_nvm_raw_read(void __user *argp, return -EFAULT; } - if (copy_from_user(&stNVMRead, io_buff.OutputBuffer, + if (copy_from_user(&nvm_read, io_buff.OutputBuffer, sizeof(struct bcm_nvm_readwrite))) return -EFAULT; - NOB = stNVMRead.uiNumBytes; + NOB = nvm_read.uiNumBytes; /* In Raw-Read max Buff size : 64MB */ if (NOB > DEFAULT_BUFF_SIZE) @@ -2194,8 +2194,8 @@ static int bcm_char_ioctl_nvm_raw_read(void __user *argp, else buff_size = NOB; - ReadOffset = stNVMRead.uiOffset; - OutPutBuff = stNVMRead.pBuffer; + ReadOffset = nvm_read.uiOffset; + OutPutBuff = nvm_read.pBuffer; read_buff = kzalloc(buff_size , GFP_KERNEL); if (read_buff == NULL) { |