From 1b81edbc3d3c7a26f812a6d65f10fe203f3883be Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 27 Aug 2014 12:58:03 +0200 Subject: [PATCH] Staging: bcm: Bcmchar.c: Renamed variable: "InputAddr" -> "input_addr" Signed-off-by: Matthias Beyer Signed-off-by: Greg Kroah-Hartman --- 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 891db028be28..732204d6568c 100644 --- a/drivers/staging/bcm/Bcmchar.c +++ b/drivers/staging/bcm/Bcmchar.c @@ -1720,7 +1720,7 @@ static int bcm_char_ioctl_flash2x_section_write(void __user *argp, struct bcm_flash2x_readwrite sFlash2xWrite = {0}; struct bcm_ioctl_buffer io_buff; PUCHAR write_buff; - void __user *InputAddr; + void __user *input_addr; UINT NOB = 0; UINT buff_size = 0; UINT WriteOffset = 0; @@ -1768,7 +1768,7 @@ static int bcm_char_ioctl_flash2x_section_write(void __user *argp, if (validateFlash2xReadWrite(ad, &sFlash2xWrite) == false) return STATUS_FAILURE; - InputAddr = sFlash2xWrite.pDataBuff; + input_addr = sFlash2xWrite.pDataBuff; WriteOffset = sFlash2xWrite.offset; NOB = sFlash2xWrite.numOfBytes; @@ -1807,7 +1807,7 @@ static int bcm_char_ioctl_flash2x_section_write(void __user *argp, BcmFlash2xCorruptSig(ad, sFlash2xWrite.Section); do { - status = copy_from_user(write_buff, InputAddr, write_bytes); + status = copy_from_user(write_buff, input_addr, write_bytes); if (status) { BCM_DEBUG_PRINT(ad, DBG_TYPE_PRINTK, 0, 0, "Copy to user failed with status :%d", status); @@ -1834,7 +1834,7 @@ static int bcm_char_ioctl_flash2x_section_write(void __user *argp, NOB = NOB - write_bytes; if (NOB) { WriteOffset = WriteOffset + write_bytes; - InputAddr = InputAddr + write_bytes; + input_addr = input_addr + write_bytes; if (NOB > ad->uiSectorSize) write_bytes = ad->uiSectorSize; else