summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2014-08-27 12:57:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-30 13:01:38 -0700
commitdb1f4df0b3a298ce10e9b8f2a066d43844f3f373 (patch)
tree36aff234d185c8a4be3f7bc82e97063a0214d1fa /drivers/staging/bcm
parent81d69c748ae596c1fb199bf6d275f2697dadd719 (diff)
downloadblackbird-op-linux-db1f4df0b3a298ce10e9b8f2a066d43844f3f373.tar.gz
blackbird-op-linux-db1f4df0b3a298ce10e9b8f2a066d43844f3f373.zip
Staging: bcm: Bcmchar.c: Renamed variable: "uiTempVar" -> "tmp"
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.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c
index 8c702e0d67dc..5f20b03753d8 100644
--- a/drivers/staging/bcm/Bcmchar.c
+++ b/drivers/staging/bcm/Bcmchar.c
@@ -1313,7 +1313,7 @@ static int bcm_char_ioctl_bulk_wrm(void __user *argp,
{
struct bcm_bulk_wrm_buffer *bulk_buff;
struct bcm_ioctl_buffer io_buff;
- UINT uiTempVar = 0;
+ UINT tmp = 0;
INT status = STATUS_FAILURE;
PCHAR buff = NULL;
@@ -1349,12 +1349,12 @@ static int bcm_char_ioctl_bulk_wrm(void __user *argp,
return -EINVAL;
}
- uiTempVar = bulk_buff->Register & EEPROM_REJECT_MASK;
+ tmp = bulk_buff->Register & EEPROM_REJECT_MASK;
if (!((ad->pstargetparams->m_u32Customize)&VSG_MODE) &&
- ((uiTempVar == EEPROM_REJECT_REG_1) ||
- (uiTempVar == EEPROM_REJECT_REG_2) ||
- (uiTempVar == EEPROM_REJECT_REG_3) ||
- (uiTempVar == EEPROM_REJECT_REG_4)) &&
+ ((tmp == EEPROM_REJECT_REG_1) ||
+ (tmp == EEPROM_REJECT_REG_2) ||
+ (tmp == EEPROM_REJECT_REG_3) ||
+ (tmp == EEPROM_REJECT_REG_4)) &&
(cmd == IOCTL_BCM_REGISTER_WRITE)) {
kfree(buff);
OpenPOWER on IntegriCloud