Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2229512rwl; Sat, 8 Apr 2023 10:08:50 -0700 (PDT) X-Google-Smtp-Source: AKy350YFfz1ReJXgM6cL2E4IRKAuZCT4SdhZWWM17qZeUpZO+hQ+6flSJSRJ0SEdI2bxOqLZIYuF X-Received: by 2002:aa7:cb0a:0:b0:504:94b9:f21 with SMTP id s10-20020aa7cb0a000000b0050494b90f21mr203882edt.27.1680973729935; Sat, 08 Apr 2023 10:08:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680973729; cv=none; d=google.com; s=arc-20160816; b=hBb6jeJMzDcg7Od8woYDH3LyT6PUPi5Z0nG2l3WdLAbuTonhKuMQB5rTbGFg+VWE+P vq5fUowdE2QW9bo1hTfzQVQutkBk/Jvlmpuj8Seg9pMIhWjWfvxFtRVqZDScp/8/g84x MXBGWHBkRvyX94H3GHUcNecBC0NhZCa6Ixdck0d06P+z+QccDSpVAiBQHCaPLiIOdFrg OWwuBecccBLuirlTd2c+zJL2UYo0SBxqWSt1u6wbHT2GQpBDWRQj05SAWTC6x4mGhjtJ 2EI2yvKev69kdBTnsKqxt327f9O8O6nDuhutsH6pMvxWoGy1XLqYSwtR77VCZEYCTreK qcDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=e7rWvOXfuvSXh57FKc1iytj8qoT2uElPC4EU8H1W8eo=; b=WBxN+lD1yk6a8nl8CL7FehaoNxeAYP/dLNJOvgMzIkVzN7YLmKSgFsE5LxFbmDLe/b uR3X+S1Y5+tq1+KcqvMoH/VUn0Wf5dYywbt5Ffvli0vUUvCIjZsVvt+u3LC2Qy3uk8Kx KlAs0NioPZ1AUsDMN1N7/aHdzTzgVClboGN8E0eczpYUr0o6YHqYkmTWtU8z6KT8wvDa NmK9rbh0q5tKMk0pRGIHB2gG1meIAbddSm+a1/OaTpILI/LqCXvO/atNGH3nXA6gpf+f ElSA1iAb62CGrkXa2434uTFZGGf1ubhv89hhpHGfqV4Kwy72eskmkfQ/WDMEKoAWGFSE voXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SpAyZzbq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v26-20020a056402185a00b005046e05e3cbsi4571752edy.71.2023.04.08.10.08.19; Sat, 08 Apr 2023 10:08:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SpAyZzbq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229597AbjDHQwF (ORCPT + 99 others); Sat, 8 Apr 2023 12:52:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbjDHQwE (ORCPT ); Sat, 8 Apr 2023 12:52:04 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3403C14A for ; Sat, 8 Apr 2023 09:51:58 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id 60-20020a17090a09c200b0023fcc8ce113so3706111pjo.4 for ; Sat, 08 Apr 2023 09:51:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680972718; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=e7rWvOXfuvSXh57FKc1iytj8qoT2uElPC4EU8H1W8eo=; b=SpAyZzbqRob7hIl0izmIl5sXQvWinEN5OnK2n6ff5QZw6pskhBAtOB0ERN8dq9umgT kDc5mwi3vQMwA4EdqyICk3xna2ATFXQOiQeZ4j2VCWUzZnhDeQFkk57Ov87EcnV9wjPf zgUp7NoJLfC1x9fv8MgOfHd0OAC94pvIxXgXRPv771Ah/l/7DIGKAU8FmMD243QDANQf 5aBxne/u9g0+nU/el6vp34D4M9PLZ4L055a9FgfF8IiQblTOkoe5S7SN0FdiBCqyHjhm hrt3lKtQ2xQlWltvKLPvUcRaLCFFilnJZJhX7PX8sOUTFHAabBUWVh2KvfES28kA3ajK etrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680972718; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=e7rWvOXfuvSXh57FKc1iytj8qoT2uElPC4EU8H1W8eo=; b=fGhULOVfIb4UTKfdlAXU1dIxL7dAmpv39vRGuMBAEm3aiyTdVc24N8Y9/C68iVMImA xZ5uxjP8JG69EvsT5/8zLhBYtclfwytrrJ1nvbIlKXdsMEuViGWtuwRRQjr7dF0hIvNc PJYT7gaxQxDTs+5Dlv/yw6KlwbrlekMlKzV7dTUT+hvcSC0T7r1aIRR4jhhYlgGONgFt xQIE6o/IVSyWC1l3wiseiQOFslxGSrWWHWZVfhZ7xc3fnnbFkAezzZOt+R+DXLT2DVyP XAShE45vBgXNvlQMWgGXL3taTwsuL2vjuzKeVQBEuRzU5vszAbp/G9zt/XXqFau9aUV7 vY/Q== X-Gm-Message-State: AAQBX9eu8h5uXvOm/ksMiyyaTaghzhe/LE1JIahJFu47KXhGdItpydYg C7vRHw3nICDXtfCI880ISaDfCuZhP6tzMw== X-Received: by 2002:a17:90a:aa83:b0:23d:2f73:d3c8 with SMTP id l3-20020a17090aaa8300b0023d2f73d3c8mr7172990pjq.42.1680972718120; Sat, 08 Apr 2023 09:51:58 -0700 (PDT) Received: from sumitra.com ([117.207.136.97]) by smtp.gmail.com with ESMTPSA id v3-20020a654603000000b004fb3e5681cesm4447455pgq.20.2023.04.08.09.51.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Apr 2023 09:51:57 -0700 (PDT) Date: Sat, 8 Apr 2023 09:51:51 -0700 From: Sumitra Sharma To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] staging: rtl8192e: Fix alignment to match open parenthesis Message-ID: <20230408165151.GA261885@sumitra.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix alignment to match opening parenthesis as suggested by Linux kernel coding-style. This issue is reported by checkpatch. CHECK: Alignment should match open parenthesis Signed-off-by: Sumitra Sharma --- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c index cde41111012a..d0b943145259 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -564,11 +564,9 @@ static void _rtl92e_dm_tx_power_tracking_callback_tssi(struct net_device *dev) for (k = 0; k < 5; k++) { if (k != 4) - tmp_report[k] = rtl92e_readb(dev, - Tssi_Report_Value1+k); + tmp_report[k] = rtl92e_readb(dev, Tssi_Report_Value1+k); else - tmp_report[k] = rtl92e_readb(dev, - Tssi_Report_Value2); + tmp_report[k] = rtl92e_readb(dev, Tssi_Report_Value2); if (tmp_report[k] <= 20) { viviflag = true; @@ -1138,7 +1136,7 @@ static void _rtl92e_dm_ctrl_initgain_byrssi_false_alarm(struct net_device *dev) return; if (priv->undecorated_smoothed_pwdb <= dm_digtable.rssi_low_thresh) { if (dm_digtable.dig_state == DM_STA_DIG_OFF && - (priv->reset_count == reset_cnt)) + (priv->reset_count == reset_cnt)) return; reset_cnt = priv->reset_count; @@ -1216,7 +1214,7 @@ static void _rtl92e_dm_ctrl_initgain_byrssi_highpwr(struct net_device *dev) if (priv->undecorated_smoothed_pwdb >= dm_digtable.rssi_high_power_highthresh) { if (dm_digtable.dig_highpwr_state == DM_STA_DIG_ON && - (priv->reset_count == reset_cnt_highpwr)) + (priv->reset_count == reset_cnt_highpwr)) return; dm_digtable.dig_highpwr_state = DM_STA_DIG_ON; @@ -1226,7 +1224,7 @@ static void _rtl92e_dm_ctrl_initgain_byrssi_highpwr(struct net_device *dev) rtl92e_writeb(dev, rOFDM0_RxDetector1, 0x43); } else { if (dm_digtable.dig_highpwr_state == DM_STA_DIG_OFF && - (priv->reset_count == reset_cnt_highpwr)) + (priv->reset_count == reset_cnt_highpwr)) return; dm_digtable.dig_highpwr_state = DM_STA_DIG_OFF; @@ -2111,9 +2109,8 @@ static void _rtl92e_dm_check_fsync(struct net_device *dev) } else if (priv->undecorated_smoothed_pwdb >= (RegC38_TH+5)) { if (reg_c38_State) { - rtl92e_writeb(dev, - rOFDM0_RxDetector3, - priv->framesync); + rtl92e_writeb(dev, rOFDM0_RxDetector3, + priv->framesync); reg_c38_State = RegC38_Default; } } @@ -2129,14 +2126,14 @@ static void _rtl92e_dm_check_fsync(struct net_device *dev) if (priv->frame_sync_monitor) { if (priv->reset_count != reset_cnt) { rtl92e_writeb(dev, rOFDM0_RxDetector3, - priv->framesync); + priv->framesync); reg_c38_State = RegC38_Default; reset_cnt = priv->reset_count; } } else { if (reg_c38_State) { rtl92e_writeb(dev, rOFDM0_RxDetector3, - priv->framesync); + priv->framesync); reg_c38_State = RegC38_Default; } } -- 2.25.1