Commit 3f1d98ea authored by Matthias Beyer's avatar Matthias Beyer Committed by Greg Kroah-Hartman

Staging: bcm: Bcmchar.c: Renamed variable: "SectOfset" -> "sect_offset"

Signed-off-by: default avatarMatthias Beyer <mail@beyermatthias.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 50a9e6fe
...@@ -2101,7 +2101,7 @@ static int bcm_char_ioctl_select_dsd(void __user *argp, ...@@ -2101,7 +2101,7 @@ static int bcm_char_ioctl_select_dsd(void __user *argp,
{ {
struct bcm_ioctl_buffer io_buff; struct bcm_ioctl_buffer io_buff;
INT status = STATUS_FAILURE; INT status = STATUS_FAILURE;
UINT SectOfset = 0; UINT sect_offset = 0;
enum bcm_flash2x_section_val flash_2x_section_val; enum bcm_flash2x_section_val flash_2x_section_val;
flash_2x_section_val = NO_SECTION_VAL; flash_2x_section_val = NO_SECTION_VAL;
...@@ -2141,8 +2141,8 @@ static int bcm_char_ioctl_select_dsd(void __user *argp, ...@@ -2141,8 +2141,8 @@ static int bcm_char_ioctl_select_dsd(void __user *argp,
return STATUS_FAILURE; return STATUS_FAILURE;
} }
SectOfset = BcmGetSectionValStartOffset(ad, flash_2x_section_val); sect_offset = BcmGetSectionValStartOffset(ad, flash_2x_section_val);
if (SectOfset == INVALID_OFFSET) { if (sect_offset == INVALID_OFFSET) {
BCM_DEBUG_PRINT(ad, DBG_TYPE_PRINTK, 0, 0, BCM_DEBUG_PRINT(ad, DBG_TYPE_PRINTK, 0, 0,
"Provided Section val <%d> does not exist in Flash 2.x", "Provided Section val <%d> does not exist in Flash 2.x",
flash_2x_section_val); flash_2x_section_val);
...@@ -2150,7 +2150,7 @@ static int bcm_char_ioctl_select_dsd(void __user *argp, ...@@ -2150,7 +2150,7 @@ static int bcm_char_ioctl_select_dsd(void __user *argp,
} }
ad->bAllDSDWriteAllow = TRUE; ad->bAllDSDWriteAllow = TRUE;
ad->ulFlashCalStart = SectOfset; ad->ulFlashCalStart = sect_offset;
ad->eActiveDSD = flash_2x_section_val; ad->eActiveDSD = flash_2x_section_val;
return STATUS_SUCCESS; return STATUS_SUCCESS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment