Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp6522521imm; Wed, 27 Jun 2018 08:57:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdgFuujEuBdx1tYwvzprsuWnyuCtWTit18u8Ywsw+MxZNFoa9ecTrpBu+6nEZALfm6QL0Xb X-Received: by 2002:a62:449b:: with SMTP id m27-v6mr6509314pfi.130.1530115020485; Wed, 27 Jun 2018 08:57:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530115020; cv=none; d=google.com; s=arc-20160816; b=A3+7ZGuqvKLrAHXQyD6ekburfumAz8Tg+ckZYzrfzin97FsGoHKCXzi317MkM584zk Kxv1KGB9iR3HbBfo3XyNZK808iMW2FW9rKOMnQRBFnZG/ZeHQw2H8ZRoTXa2ayw8iPP8 x2YrQDNF9s+aLFtH4nWvjmJvbFwSchiai+zj5pJYdZ9Vi0Otjssb+UKUyQ3ymI4u03RH HY80RHGl/Xi86qosApOCWYLc6Pj3bV1ilEs6Uq39r5Ex/F/simfCHqckKX//1ANbcV8g b4l/jVCr/DoUNol1A8KTwboR7faehjoK04LwhgI9lRcHdkep8zjTFYHcZVhUZgABI1nv AFHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:user-agent:cc:to :references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=sFTFJaZEoSS0Yxogw726Cdl+rtn8yLK8iTkL4SUi570=; b=oLME9X4l/w7aKcN1Q8D5+xlSCVk3y+famFSc4iilYmlSSFjgv0gYjMhmzpSFGce1NS J26+P6WfeudsItQq81J6lC0/SigZBRrfcLqA6liRNNK1PqLAnhVDjCzT3gMS0q3dmwfH sRx3Yfi9mXuGs6cHJK4VdMLINP1MkL4kLluJi5/M2pWW8I6rlwVCA+2i50Mubm8MHCwe jlBFMWcsKc6N8yg3SFVleV1NT9MnTeJX0a9ZjVJJyMsVHKKtnrwDF3LFNF78ZAkGEYGQ 2mr4eQcRkib22TbA4QbuBEmyH+F7MPkLrKWth6Db0ZhUx6tUFIqOsAiNpDYEl7MVtZz2 dpyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=GuqshIcK; dkim=pass header.i=@codeaurora.org header.s=default header.b=D5VDYmzV; 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 h2-v6si4466099pls.245.2018.06.27.08.56.46; Wed, 27 Jun 2018 08:57:00 -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=@codeaurora.org header.s=default header.b=GuqshIcK; dkim=pass header.i=@codeaurora.org header.s=default header.b=D5VDYmzV; 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 S934909AbeF0Pzu (ORCPT + 99 others); Wed, 27 Jun 2018 11:55:50 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:43442 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934746AbeF0Pzs (ORCPT ); Wed, 27 Jun 2018 11:55:48 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 0D0CF60AD8; Wed, 27 Jun 2018 15:55:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530114948; bh=05BPjB5wztF1mDiFnUCXXoLzxc0UpHDKdbA8cBeyQOs=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=GuqshIcK5xlBFzibP93xa5ktdqBHY3NRh13pfpXzXydJXX0Rt7/M6MpzrQ+soZKp0 LG65ZbLtvrf/WPlpENmyjN4znjTGuQhxiNM4Z516dH+MCvvpmD1n9OU6Iis5QG2GVg +urhYUbPwCTdmcJcA/ah4Hp/Xfwwyu6DA3rapJGk= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,MISSING_DATE,MISSING_MID,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-52.elisa-laajakaista.fi [88.114.240.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 98029606FA; Wed, 27 Jun 2018 15:55:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530114947; bh=05BPjB5wztF1mDiFnUCXXoLzxc0UpHDKdbA8cBeyQOs=; h=Subject:From:In-Reply-To:References:To:Cc:From; b=D5VDYmzVMOCfvKr8uslOi8me/blBzeP+XX68gkUk67a+HgcBy+D1f/Ift4pHHLsis LHaLkQXnHicEhpG/PFdeywhz+sc7z/quhnHcvhc16vu89Y05aUPFPwKvr48t4Am07p z6N8se8VTzclt6A6W4Otkx/URQgvEuGwF45tNGsE= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 98029606FA Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: brcmsmac: Remove unnecessary parentheses From: Kalle Valo In-Reply-To: <20180601021413.4031-1-rvarsha016@gmail.com> References: <20180601021413.4031-1-rvarsha016@gmail.com> To: Varsha Rao Cc: Nicholas Mc Guire , Lukas Bulwahn , Arend van Spriel , Franky Lin , Hante Meuleman , Chi-Hsien Lin , Wright Feng , "David S. Miller" , linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, brcm80211-dev-list@cypress.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Varsha Rao User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20180627155548.0D0CF60AD8@smtp.codeaurora.org> Date: Wed, 27 Jun 2018 15:55:47 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Varsha Rao wrote: > This patch fixes the clang warning of extraneous parentheses, with the > following coccinelle script. > > @@ > identifier i; > expression e; > statement s; > @@ > if ( > -(i == e) > +i == e > ) > s > > Suggested-by: Lukas Bulwahn > Signed-off-by: Varsha Rao Patch applied to wireless-drivers-next.git, thanks. eb5d2f3afc0f brcmsmac: Remove unnecessary parentheses -- https://patchwork.kernel.org/patch/10442401/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches