Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4983787yba; Mon, 13 May 2019 03:22:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqw82WrKTz2LCqMDc9M/g8ORkZKYGKwpR8EfQHVSzyFIZBmsLSDZfdBjz8JbPIULNkjmijwM X-Received: by 2002:a17:902:6842:: with SMTP id f2mr29680927pln.189.1557742942482; Mon, 13 May 2019 03:22:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557742942; cv=none; d=google.com; s=arc-20160816; b=XR+zZps6iA8C2aYGA0J1GbUhEV9vHaNmJeiHR9Qa1EH2v7z6KECqglCGKPp0K3ecsY H4l4jA6KU9RirnFqd5opaNV3jZcMVftuqHQ0ZgqY1wo3Se6qoKhNJmfKPv9z7xR3FqdB Uhtjjevq/nKqdB8CC+Ny4/AMLGNH8E3N4n6EStVkBRph4SdFoaJJVdYSYj8rsdm8Pr0X uWitdpLncOZdHI3Se2vs2mcW6tMwXpZ1nfrGU+u4ta0L/xQSHFpTO2A1nfbq0PCer0cO Q9C2SPEZddYMzXKuoGZt8NoQSeoDH/XmoGyiQ+QpJiY9Ef73N4+wLjlJDaRlvJcPFq9j rT2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4W/z/YyOu4ugia5X32XjWPKGUbD7NhV65n68hRJoHms=; b=pHKlyVQ3W0zjh906M3nmLrjmrCZUbt0OW28JWzasbOB9jONoa3RD1Iu0TPXjZrhZgk td6wGis4HPLjrQ0DLBOckIJoBk3D7YdBKxKwb6SJzxX++41cdBlAq3MI6oBGiT6t2mbs HGgpqKDA17YTyqxykWY6Fc40+W18TgGvleZL6uPP9AMh2tVMZpYgsadbc+c+qnABtT6B d/3+JNkNZ2zfS3G2DoH+baUFAPxbjQVFIxymOImpF/zWlt1CdRjw7JBrquWTc/xV0hXb LwdbdWHi03cFFogif2Gy+ULugYxJCvnmh8wIqz8VBuBwGX4RwwD9fPqk/tYTl4hLcxOV f+uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mxWEuWK7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z6si15099953pln.54.2019.05.13.03.22.06; Mon, 13 May 2019 03:22:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mxWEuWK7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728455AbfEMJd1 (ORCPT + 99 others); Mon, 13 May 2019 05:33:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:50484 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726218AbfEMJd1 (ORCPT ); Mon, 13 May 2019 05:33:27 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3365D20873; Mon, 13 May 2019 09:33:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557740006; bh=Oh5xXg6uTFSzSLkeVykgO08l4nnAKG9rNXBddLbIWzs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mxWEuWK7B06nvRkMIiatxxlv4Z+H8puDaQkfQ097Re5RMkyaxLMZGjHSQ2s2nlHsm gOd/TnrushyhGYk+rRfigzDrZx5FyxZVssmt3AwZhDsuFNxp5XsfI+DI8mzRUAsxdl BhefurJNWCigEz+aVb8rYZkIXbrl3+DEOqDmUm7o= Date: Mon, 13 May 2019 11:33:24 +0200 From: Greg KH To: Vatsala Narang Cc: devel@driverdev.osuosl.org, julia.lawall@lip6.fr, linux-kernel@vger.kernel.org, hdegoede@redhat.com, hadess@hadess.net Subject: Re: [PATCH v2 6/6] staging: rtl8723bs: core: Move logical operator to previous line. Message-ID: <20190513093324.GA21213@kroah.com> References: <20190505132253.4516-1-vatsalanarang@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190505132253.4516-1-vatsalanarang@gmail.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 05, 2019 at 06:52:53PM +0530, Vatsala Narang wrote: > Move logical operator to previous line to get rid of checkpatch warning. > > Signed-off-by: Vatsala Narang > --- > drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c > index 0b5bd047a552..b5e355de1199 100644 > --- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c > +++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c > @@ -5656,9 +5656,9 @@ static u8 chk_ap_is_alive(struct adapter *padapter, struct sta_info *psta) > ); > #endif > > - if ((sta_rx_data_pkts(psta) == sta_last_rx_data_pkts(psta)) > - && sta_rx_beacon_pkts(psta) == sta_last_rx_beacon_pkts(psta) > - && sta_rx_probersp_pkts(psta) == sta_last_rx_probersp_pkts(psta) > + if ((sta_rx_data_pkts(psta) == sta_last_rx_data_pkts(psta)) && > + sta_rx_beacon_pkts(psta) == sta_last_rx_beacon_pkts(psta) && > + sta_rx_probersp_pkts(psta) == sta_last_rx_probersp_pkts(psta) Odd, you should align these two lines, right? > ) { This should go on the previous line. thanks, greg k-h