staging: rtl8192u: add space after close brace '}'
This fixes the checkpatch.pl error: ERROR: space required after that close brace '}' Signed-off-by: Roxana Blaj <roxanagabriela10@gmail.com> Acked-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
8ec2f8f0b9
Коммит
32b116edae
|
@ -99,7 +99,7 @@ static bool fw_download_code(struct net_device *dev, u8 *code_virtual_address,
|
||||||
code_virtual_address += frag_length;
|
code_virtual_address += frag_length;
|
||||||
frag_offset += frag_length;
|
frag_offset += frag_length;
|
||||||
|
|
||||||
}while (frag_offset < buffer_len);
|
} while (frag_offset < buffer_len);
|
||||||
|
|
||||||
return rt_status;
|
return rt_status;
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ static bool CPUcheck_maincodeok_turnonCPU(struct net_device *dev)
|
||||||
if (CPU_status&CPU_GEN_PUT_CODE_OK)
|
if (CPU_status&CPU_GEN_PUT_CODE_OK)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}while (check_putcodeOK_time--);
|
} while (check_putcodeOK_time--);
|
||||||
|
|
||||||
if (!(CPU_status&CPU_GEN_PUT_CODE_OK)) {
|
if (!(CPU_status&CPU_GEN_PUT_CODE_OK)) {
|
||||||
RT_TRACE(COMP_ERR, "Download Firmware: Put code fail!\n");
|
RT_TRACE(COMP_ERR, "Download Firmware: Put code fail!\n");
|
||||||
|
@ -151,7 +151,7 @@ static bool CPUcheck_maincodeok_turnonCPU(struct net_device *dev)
|
||||||
|
|
||||||
if (CPU_status&CPU_GEN_BOOT_RDY)
|
if (CPU_status&CPU_GEN_BOOT_RDY)
|
||||||
break;
|
break;
|
||||||
}while (check_bootOk_time--);
|
} while (check_bootOk_time--);
|
||||||
|
|
||||||
if (!(CPU_status&CPU_GEN_BOOT_RDY))
|
if (!(CPU_status&CPU_GEN_BOOT_RDY))
|
||||||
goto CPUCheckMainCodeOKAndTurnOnCPU_Fail;
|
goto CPUCheckMainCodeOKAndTurnOnCPU_Fail;
|
||||||
|
@ -180,7 +180,7 @@ static bool CPUcheck_firmware_ready(struct net_device *dev)
|
||||||
if (CPU_status&CPU_GEN_FIRM_RDY)
|
if (CPU_status&CPU_GEN_FIRM_RDY)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}while (check_time--);
|
} while (check_time--);
|
||||||
|
|
||||||
if (!(CPU_status&CPU_GEN_FIRM_RDY))
|
if (!(CPU_status&CPU_GEN_FIRM_RDY))
|
||||||
goto CPUCheckFirmwareReady_Fail;
|
goto CPUCheckFirmwareReady_Fail;
|
||||||
|
@ -222,11 +222,11 @@ bool init_firmware(struct net_device *dev)
|
||||||
starting_state = FW_INIT_STEP0_BOOT;
|
starting_state = FW_INIT_STEP0_BOOT;
|
||||||
// TODO: system reset
|
// TODO: system reset
|
||||||
|
|
||||||
}else if (pfirmware->firmware_status == FW_STATUS_5_READY) {
|
} else if (pfirmware->firmware_status == FW_STATUS_5_READY) {
|
||||||
/* it is called by Initialize */
|
/* it is called by Initialize */
|
||||||
rst_opt = OPT_FIRMWARE_RESET;
|
rst_opt = OPT_FIRMWARE_RESET;
|
||||||
starting_state = FW_INIT_STEP2_DATA;
|
starting_state = FW_INIT_STEP2_DATA;
|
||||||
}else {
|
} else {
|
||||||
RT_TRACE(COMP_FIRMWARE, "PlatformInitFirmware: undefined firmware state\n");
|
RT_TRACE(COMP_FIRMWARE, "PlatformInitFirmware: undefined firmware state\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -262,7 +262,7 @@ bool init_firmware(struct net_device *dev)
|
||||||
file_length = fw_entry->size + 128;
|
file_length = fw_entry->size + 128;
|
||||||
}
|
}
|
||||||
pfirmware->firmware_buf_size = file_length;
|
pfirmware->firmware_buf_size = file_length;
|
||||||
}else if (rst_opt == OPT_FIRMWARE_RESET ) {
|
} else if (rst_opt == OPT_FIRMWARE_RESET ) {
|
||||||
/* we only need to download data.img here */
|
/* we only need to download data.img here */
|
||||||
mapped_file = pfirmware->firmware_buf;
|
mapped_file = pfirmware->firmware_buf;
|
||||||
file_length = pfirmware->firmware_buf_size;
|
file_length = pfirmware->firmware_buf_size;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче