Received: by 10.223.164.202 with SMTP id h10csp345798wrb; Mon, 6 Nov 2017 07:34:57 -0800 (PST) X-Google-Smtp-Source: ABhQp+SPgNh2VD8fA8HjkM3Vh4qBk9y1ltqXLKn5DAPA+jM5pGT1J1F7qnJNU2E+p5LlPiq8wmzk X-Received: by 10.159.206.193 with SMTP id x1mr15334258plo.319.1509982497273; Mon, 06 Nov 2017 07:34:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509982497; cv=none; d=google.com; s=arc-20160816; b=f2SQHKlBto9hA+ufCTvAmHU8xSXBIXfG6B5bU0qSONur9N60GJEALgKODVcDIiVZ8p c2EclB8puPAMUYpQRu5n1UPWjIebD4UMwN41CX6ZjekvdNHiE3CAwAJSiI1N1ECpmQC4 6VIQOi0ImBLyP2e8soXEp+yAghsIOUf5T0YNKUdo20l81L1oin7CI7eokbUtxP5vxzaT w0TTIaXTk5rTAJ83M+Y3MEJlsOKvJgwvS7wsYlX9P/L3dVcevLgK5at15KMuBKeRBZlC Wa7KwHAP9t8YhBVdiGKyk7MHaEIg6ATz9+mRKZvLqN0evkiYBiallXX3KYuI+Iz1VO53 ChnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=RVkBTjlHNfQHaeZMu9SfTmcR1qvwOEgGO0yIhlaVH6E=; b=MiE1FLxnT25SPAoR+IfPZuLLfeAL/cYNPacJUDjdOOl93kuAA/THwW5/KvK0zc1MSw h+xskRxNSFasqaocLeuTXL7p8kFEI6TKicbrn/HzzwL2J9AAIqc18rslAAaRrcMkinWB wXUK8l4SjLoVsClm0x6k+eEv85ZhZ32U6hIvEc+NUa1QktGUGE/BZkCBwirwVzhwScmF tdCsjOW9q0/3s3PLURwqO/Wc9SpNvAeII1fPvEdIioVJaIw9Kd440jdsxVcb/owlPfU/ jrGR/+iypnKA/TJi1Sc/NJBJofkHSiejjP5u981rgFiEg7KMnb960Z/RaTIMbawxO2NE 75rA== ARC-Authentication-Results: i=1; mx.google.com; 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 g2si9871884pll.718.2017.11.06.07.34.43; Mon, 06 Nov 2017 07:34:57 -0800 (PST) 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; 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 S1753939AbdKFPdU (ORCPT + 97 others); Mon, 6 Nov 2017 10:33:20 -0500 Received: from proxima.lasnet.de ([78.47.171.185]:47815 "EHLO proxima.lasnet.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752829AbdKFPdS (ORCPT ); Mon, 6 Nov 2017 10:33:18 -0500 Received: from [192.168.2.110] (pD9F788BF.dip0.t-ipconnect.de [217.247.136.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: stefan@datenfreihafen.org) by proxima.lasnet.de (Postfix) with ESMTPSA id 93D80C6859; Mon, 6 Nov 2017 16:33:16 +0100 (CET) Subject: Re: [PATCH] ieee802154: mrf24j40: fix incorrect mask in mrf24j40_stop To: "Gustavo A. R. Silva" , Alan Ott , Alexander Aring , Stefan Schmidt Cc: linux-wpan@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Julia Lawall References: <20171031063127.GA6032@embeddedor.com> From: Stefan Schmidt Message-ID: <40d83766-cb5a-69c7-2882-1a9ff01004b1@datenfreihafen.org> Date: Mon, 6 Nov 2017 16:33:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171031063127.GA6032@embeddedor.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello. On 31.10.2017 07:31, Gustavo A. R. Silva wrote: > It seems that this is a copy/paste error and the proper bit masking is: > BIT_TXNIE | BIT_RXIE > > This issue was detected with the help of Coccinelle. > > Reported-by: Julia Lawall > Signed-off-by: Gustavo A. R. Silva > Fixes: 7d840545e5b9 ("mrf24j40: replace magic numbers") > --- > drivers/net/ieee802154/mrf24j40.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ieee802154/mrf24j40.c b/drivers/net/ieee802154/mrf24j40.c > index ee7084b..cf4788d 100644 > --- a/drivers/net/ieee802154/mrf24j40.c > +++ b/drivers/net/ieee802154/mrf24j40.c > @@ -635,7 +635,7 @@ static void mrf24j40_stop(struct ieee802154_hw *hw) > > /* Set TXNIE and RXIE. Disable Interrupts */ > regmap_update_bits(devrec->regmap_short, REG_INTCON, > - BIT_TXNIE | BIT_TXNIE, BIT_TXNIE | BIT_TXNIE); > + BIT_TXNIE | BIT_RXIE, BIT_TXNIE | BIT_RXIE); > } > > static int mrf24j40_set_channel(struct ieee802154_hw *hw, u8 page, u8 channel) > This patch has been applied to the wpan-next tree and will be part of the next pull request to net-next. Thanks! regards Stefan Schmidt From 1583329544689735896@xxx Mon Nov 06 15:05:21 +0000 2017 X-GM-THRID: 1582754383739437497 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread