lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 16 Sep 2013 15:43:30 +0200 From: Iker Pedrosa <ikerpedrosam@...il.com> To: pavel@....cz Cc: gregkh@...uxfoundation.org, ikerpedrosam@...il.com, harsh1kumar@...il.com, dan.carpenter@...cle.com, mujeeb.adil@...il.com, devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org Subject: [PATCH v2 10/24] Staging: winbond: reg: second of the patches that fixes lines over 80 characters Second of the patches that fixes the lines over 80 characters in reg.c Signed-off-by: Iker Pedrosa <ikerpedrosam@...il.com> --- drivers/staging/winbond/reg.c | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/drivers/staging/winbond/reg.c b/drivers/staging/winbond/reg.c index 429c28e..a65e8ce 100644 --- a/drivers/staging/winbond/reg.c +++ b/drivers/staging/winbond/reg.c @@ -964,42 +964,48 @@ void RFSynthesizer_initial(struct hw_data *pHwData) number = ARRAY_SIZE(max2825_rf_data); for (i = 0; i < number; i++) { pHwData->phy_para[i] = max2825_rf_data[i]; /* Backup Rf parameter */ - pltmp[i] = (1 << 31) | (0 << 30) | (18 << 24) | BitReverse(max2825_rf_data[i], 18); + pltmp[i] = (1 << 31) | (0 << 30) | (18 << 24) + | BitReverse(max2825_rf_data[i], 18); } break; case RF_MAXIM_2827: number = ARRAY_SIZE(max2827_rf_data); for (i = 0; i < number; i++) { pHwData->phy_para[i] = max2827_rf_data[i]; - pltmp[i] = (1 << 31) | (0 << 30) | (18 << 24) | BitReverse(max2827_rf_data[i], 18); + pltmp[i] = (1 << 31) | (0 << 30) | (18 << 24) + | BitReverse(max2827_rf_data[i], 18); } break; case RF_MAXIM_2828: number = ARRAY_SIZE(max2828_rf_data); for (i = 0; i < number; i++) { pHwData->phy_para[i] = max2828_rf_data[i]; - pltmp[i] = (1 << 31) | (0 << 30) | (18 << 24) | BitReverse(max2828_rf_data[i], 18); + pltmp[i] = (1 << 31) | (0 << 30) | (18 << 24) + | BitReverse(max2828_rf_data[i], 18); } break; case RF_MAXIM_2829: number = ARRAY_SIZE(max2829_rf_data); for (i = 0; i < number; i++) { pHwData->phy_para[i] = max2829_rf_data[i]; - pltmp[i] = (1 << 31) | (0 << 30) | (18 << 24) | BitReverse(max2829_rf_data[i], 18); + pltmp[i] = (1 << 31) | (0 << 30) | (18 << 24) + | BitReverse(max2829_rf_data[i], 18); } break; case RF_AIROHA_2230: number = ARRAY_SIZE(al2230_rf_data); for (i = 0; i < number; i++) { pHwData->phy_para[i] = al2230_rf_data[i]; - pltmp[i] = (1 << 31) | (0 << 30) | (20 << 24) | BitReverse(al2230_rf_data[i], 20); + pltmp[i] = (1 << 31) | (0 << 30) | (20 << 24) + | BitReverse(al2230_rf_data[i], 20); } break; case RF_AIROHA_2230S: number = ARRAY_SIZE(al2230s_rf_data); for (i = 0; i < number; i++) { pHwData->phy_para[i] = al2230s_rf_data[i]; - pltmp[i] = (1 << 31) | (0 << 30) | (20 << 24) | BitReverse(al2230s_rf_data[i], 20); + pltmp[i] = (1 << 31) | (0 << 30) | (20 << 24) + | BitReverse(al2230s_rf_data[i], 20); } break; case RF_AIROHA_7230: @@ -1020,7 +1026,8 @@ void RFSynthesizer_initial(struct hw_data *pHwData) } pHwData->phy_para[i] = ltmp; - pltmp[i] = (1 << 31) | (0 << 30) | (24 << 24) | BitReverse(ltmp, 24); + pltmp[i] = (1 << 31) | (0 << 30) | (24 << 24) + | BitReverse(ltmp, 24); } break; } @@ -1047,10 +1054,12 @@ void RFSynthesizer_initial(struct hw_data *pHwData) switch (pHwData->phy_type) { case RF_AIROHA_2230: - ltmp = (1 << 31) | (0 << 30) | (20 << 24) | BitReverse((0x07 << 20) | 0xE168E, 20); + ltmp = (1 << 31) | (0 << 30) | (20 << 24) + | BitReverse((0x07 << 20) | 0xE168E, 20); Wb35Reg_WriteSync(pHwData, 0x0864, ltmp); usleep(10000); - ltmp = (1 << 31) | (0 << 30) | (20 << 24) | BitReverse(al2230_rf_data[7], 20); + ltmp = (1 << 31) | (0 << 30) | (20 << 24) + | BitReverse(al2230_rf_data[7], 20); Wb35Reg_WriteSync(pHwData, 0x0864, ltmp); usleep(10000); case RF_AIROHA_2230S: @@ -1064,7 +1073,8 @@ void RFSynthesizer_initial(struct hw_data *pHwData) /* ========================================================= */ /* The follow code doesn't use the burst-write mode */ - ltmp = (1 << 31) | (0 << 30) | (20 << 24) | BitReverse((0x0F<<20) | 0xF01A0, 20); + ltmp = (1 << 31) | (0 << 30) | (20 << 24) + | BitReverse((0x0F<<20) | 0xF01A0, 20); Wb35Reg_WriteSync(pHwData, 0x0864, ltmp); ltmp = pHwData->reg.BB5C & 0xfffff000; -- 1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists