Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2244795rwl; Sat, 8 Apr 2023 10:28:22 -0700 (PDT) X-Google-Smtp-Source: AKy350bYYal4HoiTCu4d/H594akT+TgEY9AE+0TG+zZRIBtH0zdfHoDCQMp+THj4AIuMTrzcZ0G3 X-Received: by 2002:a17:90b:38cd:b0:244:8cfb:2952 with SMTP id nn13-20020a17090b38cd00b002448cfb2952mr3377099pjb.46.1680974901938; Sat, 08 Apr 2023 10:28:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680974901; cv=none; d=google.com; s=arc-20160816; b=GPv9pXlD0FfUIcCO/Bi7DknXxV7wwVhSiZp7HFDKeqqZvfEnTsXi/iZcmL36j8XIRl U3D+FYwawyP6Xfre3lkDFukDzY4ibUTot1i42lAZBD3U4pCl9sd/T8cSPTn7x5ll/jAy wJpCQn7j23oqeHMdRjAGkybYcJwZ4tBmmshFUQMpr4ZFya6ePk4m+vNE2zwp3WLlkTFG rW+RBGceMbTYhEkdm90Q+eNQwxmSTHWwo3LAPfPygtvofgMUmhs+lypvQlVMYNKKsRbT CdEr6vg8tH468LYss/JSlfqIkmdm8B9Hl+1h6RgtSh2x5UZPtG7JMP6dmz8lruNREA8c B7Ow== 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=EP0xHsBJuGQ8+LLXtPS0+w3ttj9z4w16bhu80ACSGOk=; b=laLlzqF9Q+V6vRqx2kOhTyyfSo0Q8pCKZj80t6DpbgYF/10e0vM1QpEzwPI3IROh5B xTCUWArZpPJ6LpxQxP4juKkJorvy2obAYyY4foceukjqTLy5QctrwfBHS2CEpoj9Gfbj 7HyQMJ1Kei8AR5arjb+X22dumy9kagcLju8W+eS/WL2dV/5PMxDQIULAfvS2s6QQIyBK +pszGZEIlXqtk/7PsCoJ0OOmWTLHvLRBGA9fVT9x1In9jRxnFyLiVe0zDG2oY28ZwosS zQ9JoGgNX9DF/oZGcO/YFWx4bY/HGZgI3qRC6yUIkJXlUkjOsbvmwYIK28MRNOhNtLwN XpzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=O+Sylsnp; 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 me9-20020a17090b17c900b0023d2e945af7si9572870pjb.95.2023.04.08.10.28.06; Sat, 08 Apr 2023 10:28:21 -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=O+Sylsnp; 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 S229532AbjDHRSM (ORCPT + 99 others); Sat, 8 Apr 2023 13:18:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbjDHRSL (ORCPT ); Sat, 8 Apr 2023 13:18:11 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B05F974E for ; Sat, 8 Apr 2023 10:18:11 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id bp17-20020a17090b0c1100b0023f187954acso1138034pjb.2 for ; Sat, 08 Apr 2023 10:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680974290; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=EP0xHsBJuGQ8+LLXtPS0+w3ttj9z4w16bhu80ACSGOk=; b=O+SylsnpuMNH6HnC5Jme0ln//6knJgePalkuF79wOu/ALcbq6z40JvVyUy05RNVO8G mxtPOt/qBujPn/wFHAMKBtlldwivvRzs0EI2yVqP8ogciBMUtdofB1MogM0AFXoOYxsB 16rNpvSEH8oUGjQ9MFmYocgdOH8C7kK0mzHm4KUdNPdIbMuliWYRKIGVN5nEubVLYa75 GYSLG+xDsW+lahjzo+ibEjIMDY2CrEm7N+PeqAZwDQJmaKDibCQBS+XmDb6T1w/ghsaK 7SIuVWdTGb+yZ8HHzDmV/r7orD29mwB8Mc9FWafhMLv8d9gOMneAUOB7Y/lYf+f4ZAQx 5EHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680974290; 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=EP0xHsBJuGQ8+LLXtPS0+w3ttj9z4w16bhu80ACSGOk=; b=rU3w0X5REz1KkXLSQWHm/4QgmPFs7DoxffaZoah4ld5k0Ppvup+EJ1ZBYuSJnheKWE nuXMRY8tIISUzgZKjI16obor41m8qedRoX5ihzWG/akiyyx0g7EWyfjXPyami+saELVc PoTSa5Heyp90Nj665HCb3t7orl1MYCz+lamQGanFImKw5FWtM/lcM5rKyVy6+CbqJZnu Bc7Q/o6oyeObrwzkf5a27R/kOXcVWL6ZkpbQSpwOJFctpJQkuhRTUW/w7owWxxWcdSBd oulE9pgLNVC8X92aW0QTGJMyIji/10z00DBBc3Df2dpmXbaGF5IV5R55iQdjbBzas7GA wYPw== X-Gm-Message-State: AAQBX9c5tIuv06mQzV7U7fmtqiuTB3PpzgJM1I7PKaVnrQLvT9u/nJLc nCW10MhrJxZ/+wsS9KT4DnUHnmkAQ+VrGQ== X-Received: by 2002:a17:902:ea03:b0:19d:1a8e:836f with SMTP id s3-20020a170902ea0300b0019d1a8e836fmr3215037plg.27.1680974290532; Sat, 08 Apr 2023 10:18:10 -0700 (PDT) Received: from sumitra.com ([117.207.136.97]) by smtp.gmail.com with ESMTPSA id y3-20020a170902864300b001960706141fsm4766560plt.149.2023.04.08.10.18.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Apr 2023 10:18:09 -0700 (PDT) Date: Sat, 8 Apr 2023 10:18:03 -0700 From: Sumitra Sharma To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] staging: rtl8192e: Fix logical operator continuations Message-ID: <20230408171803.GA262580@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 logical operator continuation as suggested by Linux kernel coding-style. Check reported by checkpatch: CHECK: Logical continuations should be on the previous line Signed-off-by: Sumitra Sharma --- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_ps.c b/drivers/staging/rtl8192e/rtl8192e/rtl_ps.c index 5a1cd22f5e25..58ed394202ae 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_ps.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_ps.c @@ -209,8 +209,8 @@ void rtl92e_leisure_ps_enter(struct net_device *dev) &priv->rtllib->pwr_save_ctrl; if (!((priv->rtllib->iw_mode == IW_MODE_INFRA) && - (priv->rtllib->state == RTLLIB_LINKED)) - || (priv->rtllib->iw_mode == IW_MODE_ADHOC) || + (priv->rtllib->state == RTLLIB_LINKED)) || + (priv->rtllib->iw_mode == IW_MODE_ADHOC) || (priv->rtllib->iw_mode == IW_MODE_MASTER)) return; -- 2.25.1