Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4777759rwl; Mon, 10 Apr 2023 17:07:45 -0700 (PDT) X-Google-Smtp-Source: AKy350Yj0y3uHkDkDBIx6ExL6aG21NyJnYy+127c45U4EC4pG7u+v0fBS2w3qTTtK2fiQ0ICKdgQ X-Received: by 2002:a17:902:eccd:b0:19c:da68:337a with SMTP id a13-20020a170902eccd00b0019cda68337amr16815270plh.31.1681171665147; Mon, 10 Apr 2023 17:07:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681171665; cv=none; d=google.com; s=arc-20160816; b=NKls+XccwZwcbwGnuaT8C414ZZ7RDHy80vGUH+o/G1kLxfXJXaJTnwiDXj47al+FIY rLs+6umT6qIBykBPx6B4rY3BsBFp/EgoaRgLZVZSPlp8utKEShoYxC5h/bJ6Dd0VIzX3 D+Jnr0lNB0tRoSiynOejJbE/lBHIfdqAPjOWDhcnCYaCmnBL+i9LAqCLnRTV/fEWJwfg x8SieYYiPSBPcQzBHvKpFqZfiXh9rUbzXskD65O76TBHe7I3e0ngJovD/iXaCWZEPf4A rqMBzd+WK1dl6oakwH7W7XJuxuuNiX0/PF1Omg3PT7DEM3mYMC3W3He9Gae/L6Al1Q8x cKRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=KskYpRl5ZVkcDC9FeNbzzunXPSubIufuVzj4qAjj13s=; b=c/CG6mdmpd7SFxP3ulN80tjmsr82Uze8A7tsPAL6C0HlFcfrpS01ZqGw/KoQZdXOoe gBl4/MDOqgpXstw/8m0L1XfW5V+8owPcilxIRZfFzoMXbZ1b86hlZRS4L3T982u/xXXA iMO4wdzQrik0LankRXZesWuVDgKdbD/Q4hK5kXrHmQ++b/elgPvGI5jOs7ko3F4uY5WD KBafl3Y9miXNq/psNIgOdh2JYLuVp6+WtEUDGkNkB+33GpPI0GtBmO5I5+9Gfvb8f59o EvsM4NTyRGrcW5uA7bUpnmVGnpWtC3npytevr6lSK6a9beHq308XKaoObiHpzu5wdEiP vSHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gjmdvN21; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o14-20020a170902d4ce00b0019cd3a6016esi13446387plg.210.2023.04.10.17.07.32; Mon, 10 Apr 2023 17:07:45 -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=@intel.com header.s=Intel header.b=gjmdvN21; 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=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229816AbjDKAHZ (ORCPT + 99 others); Mon, 10 Apr 2023 20:07:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbjDKAHY (ORCPT ); Mon, 10 Apr 2023 20:07:24 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4D671BE7 for ; Mon, 10 Apr 2023 17:07:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681171641; x=1712707641; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=/SkNd/K8iVvE77gyQWPYM8xlrW/4KpOW5swb5hDLO/8=; b=gjmdvN21O+JasG2DSHCvRQmXCFeBFEnbjl3wHP4oQ9iJWEu8oJkH2kZu iPSCYxL4aWiKRPBTcDaw7dthNF3RhmafzPjlEfN9oWzfge3gbm2/goyfj 1gj+UPwDzLE4EtvzjhFvn2yDs7xCFtvvmBgNAqIP532AQeikNCZIBiM7h 4IPAJPOOKEUFXCG5GXiZQNpZHRhfIqQOmtSf/vW6J16cEpel8BQpNkGwK W0RDqRDElnnzHH1+JKDYDMhMpp0Z/w5p/sjJCFX4dNATVYGDMhcPpQisP CRWHTy8Q1Ar1FsK7ujVHb2LaDq4j66SZQ7+g2GH641LUu3YnN8vc33ex4 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10676"; a="371328674" X-IronPort-AV: E=Sophos;i="5.98,335,1673942400"; d="scan'208";a="371328674" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Apr 2023 17:07:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10676"; a="638617968" X-IronPort-AV: E=Sophos;i="5.98,335,1673942400"; d="scan'208";a="638617968" Received: from aschofie-mobl2.amr.corp.intel.com (HELO aschofie-mobl2) ([10.212.230.103]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Apr 2023 17:07:14 -0700 Date: Mon, 10 Apr 2023 17:07:12 -0700 From: Alison Schofield To: Sumitra Sharma Cc: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: rtl8192e: Fix logical operator continuations Message-ID: References: <20230408171803.GA262580@sumitra.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230408171803.GA262580@sumitra.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE 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 On Sat, Apr 08, 2023 at 10:18:03AM -0700, Sumitra Sharma wrote: > 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 Hi Sumitra, That commit message can be explicit, like "Move logical operator to previous line" Alison > --- > 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 >