mirror of https://gitee.com/openkylin/linux.git
staging: rtl8712: fix "Alignment match open parenthesis"
Fix checkpatch issues: "CHECK: Alignment should match open parenthesis". Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bf766625ae
commit
1e1858cb60
|
@ -111,8 +111,8 @@ void r8712_os_indicate_disconnect(struct _adapter *adapter)
|
|||
*/
|
||||
|
||||
memcpy(&backupPMKIDList[0],
|
||||
&adapter->securitypriv.PMKIDList[0],
|
||||
sizeof(struct RT_PMKID_LIST) * NUM_PMKID_CACHE);
|
||||
&adapter->securitypriv.PMKIDList[0],
|
||||
sizeof(struct RT_PMKID_LIST) * NUM_PMKID_CACHE);
|
||||
backupPMKIDIndex = adapter->securitypriv.PMKIDIndex;
|
||||
backupTKIPCountermeasure =
|
||||
adapter->securitypriv.btkip_countermeasure;
|
||||
|
|
|
@ -385,7 +385,7 @@ int r8712_cmd_thread(void *context)
|
|||
if (blnPending)
|
||||
wr_sz += 8; /* Append 8 bytes */
|
||||
r8712_write_mem(padapter, RTL8712_DMA_H2CCMD, wr_sz,
|
||||
(u8 *)pdesc);
|
||||
(u8 *)pdesc);
|
||||
pcmdpriv->cmd_seq++;
|
||||
if (pcmd->cmdcode == GEN_CMD_CODE(_CreateBss)) {
|
||||
pcmd->res = H2C_SUCCESS;
|
||||
|
|
|
@ -347,7 +347,7 @@ static u8 fix_header(struct _adapter *padapter, u8 header, u16 header_addr)
|
|||
ret = false;
|
||||
if (value == 0xFF) /* write again */
|
||||
efuse_one_byte_write(padapter, addr,
|
||||
pkt.data[i * 2]);
|
||||
pkt.data[i * 2]);
|
||||
}
|
||||
if (!efuse_one_byte_read(padapter, addr + 1, &value)) {
|
||||
ret = false;
|
||||
|
|
Loading…
Reference in New Issue