Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4481709ybx; Mon, 4 Nov 2019 14:09:22 -0800 (PST) X-Google-Smtp-Source: APXvYqwEyBeRm4RNGoyBq1dNkJRNCn8aAHzYbqjm02Dj/XCOjvGXO/bXaC07E0R2sB6NUpNqOv+6 X-Received: by 2002:a50:f058:: with SMTP id u24mr32764338edl.288.1572905362099; Mon, 04 Nov 2019 14:09:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572905362; cv=none; d=google.com; s=arc-20160816; b=LvG/Zq2n1rWCnTPJs2/olgqSi4//+v2JRPnMjTmOV8keJTNiZTQ5KiRSHJ8ukSWCad fqG1RalReXf4fw91pXZBrqvtEVeLTi07/wQwwl6NsLL8BuXCXokEdBK69V+PoXMFSABB b8B+z4S9Fwewaxj42P3fULzUM++rbJlr1040rqDzT1fJCzPrQrrjddHfaKwRs3QeFWrI mOzbT3KHfiki/4O9+kcxw0mofV2HaW6u0KVRdPgCsHZob6wAeMRhI3AEinik6e7tT1Qk jqNl/FanVEuPG/4AzQocplTpw1AOFp1g1PWWQpEY70z023XLhb6LTGFKFhQ8VYIESCEO +3oQ== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=/GmsCgTgxXdPDdiqWQ3ffg5kfPE6g74g6VigV4JQzAo=; b=uVUHpMHsVIc4t+DaJiVHUyBtTGECO/T/bptp97ue4XvAQ+uVdEwTNhl9AkXdzq5siA n4N2mJTkV3FMtDCkzan64kwrSo0ihvmdPzOPT72o8vi6wdLi+siyjbSb0tCnVQLdkz7X LVxMvUCaNVmFN3tl0y9n4uvVfQKA3tGAaRxJl9I5xLWl5RJKkJ26ljMuRjmFRb5xdYbM hve/qmrBRoqPV8DEwPqScx5dsTz9FcPlCPTl+iK7qsMqzgggE20yYa5AExf+yYb4aA84 I6h/VpauBngdMyjP91e8TiBWiA8eUwTbrMCxLmYUph549/mlqV3UR7ZFMY12YUtexQAM 3h7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="ez/FDe7b"; 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 s12si1382714eja.47.2019.11.04.14.08.58; Mon, 04 Nov 2019 14:09:22 -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; dkim=pass header.i=@kernel.org header.s=default header.b="ez/FDe7b"; 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 S2390187AbfKDWIG (ORCPT + 99 others); Mon, 4 Nov 2019 17:08:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:40782 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388489AbfKDWIE (ORCPT ); Mon, 4 Nov 2019 17:08:04 -0500 Received: from localhost (6.204-14-84.ripe.coltfrance.com [84.14.204.6]) (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 21E3B205C9; Mon, 4 Nov 2019 22:08:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572905283; bh=6lQVyhzOLL8aPXCH/uMZev8n5PhKZsk+ymbNmbvjk7g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ez/FDe7bH1Dl3c0YheczbXVar7eAWP7ywVwYreHIaAmTxeV5vLIQAfXg5DF55rYK3 2Tgyde9swqv/lNOQN4Q7GVYF97fC3vJFCEmbJLw5Qqv+H0z/ehSy78OoxAYfpSaLeE B22IMkuiqvFtwqhRCQ4/CZZjLxHx4jBnorlrRuG8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Joe Perches , Yan-Hsuan Chuang , Kalle Valo , Sasha Levin Subject: [PATCH 5.3 090/163] rtw88: Fix misuse of GENMASK macro Date: Mon, 4 Nov 2019 22:44:40 +0100 Message-Id: <20191104212146.723650192@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191104212140.046021995@linuxfoundation.org> References: <20191104212140.046021995@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joe Perches [ Upstream commit 5ff29d836d1beb347080bd96e6321c811a8e3f62 ] Arguments are supposed to be ordered high then low. Signed-off-by: Joe Perches Acked-by: Yan-Hsuan Chuang Signed-off-by: Kalle Valo Signed-off-by: Sasha Levin --- drivers/net/wireless/realtek/rtw88/rtw8822b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtw88/rtw8822b.c b/drivers/net/wireless/realtek/rtw88/rtw8822b.c index 1172f6c0605b3..d61d534396c73 100644 --- a/drivers/net/wireless/realtek/rtw88/rtw8822b.c +++ b/drivers/net/wireless/realtek/rtw88/rtw8822b.c @@ -997,7 +997,7 @@ static void rtw8822b_do_iqk(struct rtw_dev *rtwdev) rtw_write_rf(rtwdev, RF_PATH_A, RF_DTXLOK, RFREG_MASK, 0x0); reload = !!rtw_read32_mask(rtwdev, REG_IQKFAILMSK, BIT(16)); - iqk_fail_mask = rtw_read32_mask(rtwdev, REG_IQKFAILMSK, GENMASK(0, 7)); + iqk_fail_mask = rtw_read32_mask(rtwdev, REG_IQKFAILMSK, GENMASK(7, 0)); rtw_dbg(rtwdev, RTW_DBG_PHY, "iqk counter=%d reload=%d do_iqk_cnt=%d n_iqk_fail(mask)=0x%02x\n", counter, reload, ++do_iqk_cnt, iqk_fail_mask); -- 2.20.1