Renamed variable "uiTempVar" -> "tmp" in bcm_char_ioctl_reg_write_private(). Signed-off-by: Matthias Beyer <mail@xxxxxxxxxxxxxxxx> --- drivers/staging/bcm/Bcmchar.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index cf94eea..b3e68b8 100644 --- a/drivers/staging/bcm/Bcmchar.c +++ b/drivers/staging/bcm/Bcmchar.c @@ -299,7 +299,7 @@ static int bcm_char_ioctl_reg_write_private(void __user *argp, { struct bcm_wrm_buffer wrm_buff = {0}; struct bcm_ioctl_buffer io_buff; - UINT uiTempVar = 0; + UINT tmp = 0; INT Status; /* Copy Ioctl Buffer structure */ @@ -315,12 +315,12 @@ static int bcm_char_ioctl_reg_write_private(void __user *argp, io_buff.InputLength)) return -EFAULT; - uiTempVar = wrm_buff.Register & EEPROM_REJECT_MASK; + tmp = wrm_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))) { BCM_DEBUG_PRINT(ad, DBG_TYPE_PRINTK, 0, 0, "EEPROM Access Denied, not in VSG Mode\n"); -- 2.0.3 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel