Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2673908ybb; Fri, 27 Mar 2020 09:59:04 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvtwuI1ZUHVoUq5XUUV7cP1DX0SQXTRqLVLywT7F3dIpFQcraKX3JeLBlV/xHgHeMXUVYpd X-Received: by 2002:a4a:3ed7:: with SMTP id t206mr269185oot.61.1585328344753; Fri, 27 Mar 2020 09:59:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585328344; cv=none; d=google.com; s=arc-20160816; b=K//79tlAz4CjQ2Lc1p0AChhi0lDsSfuoBUSyRk4eRJ62lwbFr1+JGIRnRNLMMm/zi3 vCZXUNSlgTKcg6pvy6hDcevS5wvBhrl3Kf0Ro/suO1iV5nQiIoMPqrrvTxo/f/A8t/+u ZK65WuRxAQ6rwXeE4x8l4UcM6DQ2r/pZeXOexqdqElf0+HbiNJkf+cwtBTmM/fgny05Z bVtFu+BT2IWpEHjzfDtiUgbZDEMc2ca3MK68gsgz6ajmdt6UNoikvrv2mB4Q+da7R+Q0 PAqSX8zH6HJp6R6MiRpT2GE36smoo0ZeuldmOr5OTTift08amFA+TWl3BO/+dLXFS5st PFXw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=k2vyfyiT00wHPife35HzKM/MOJDpRlc6X7wYPWtZbhw=; b=BoAzRNK0nBwJysj/XD6RqHDgO8VyraXnB0KVj9ilujdZ8oJCzJ1r9ggFINobGVngri PMnIVbA6jTXtTkHOTiOHnMDPIpAu4TPdg57sbtz7dvOKbBSiQo2vgo1ufHgQ2FI0uia6 5Oc07ccG3jjdihIX6PzDBweQ8ModUlczCz2b7k64Ff6KtafHtGWhsIVsbCMW+5T9mf8z yzOSF7e7aOA5c78tDwa1FNpdmdgdeHHiGvIvGS7wMuheOvKzckjOhQrNwgxUU1pbhiJC BYHKWpDwNAk4Z351u5BWW5VzWSb9C3UKfIj6tRcGbuzCr5nuPGyH7v8beZc49iUNyiO1 Qwvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=YicCjW2J; 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 v127si2640390oib.25.2020.03.27.09.58.50; Fri, 27 Mar 2020 09:59:04 -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=@gmx.net header.s=badeba3b8450 header.b=YicCjW2J; 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 S1727393AbgC0Q6d (ORCPT + 99 others); Fri, 27 Mar 2020 12:58:33 -0400 Received: from mout.gmx.net ([212.227.15.18]:39369 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727254AbgC0Q6d (ORCPT ); Fri, 27 Mar 2020 12:58:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1585328304; bh=+uDA6fUULy2itpfPeZKL70mFEOIwL9s7Y+uFzpR56Ow=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=YicCjW2JixYy1fX2OZjkYlrC0ioG3zYAJMWANZFx8uzY2EG6Z5H6Ri6hsRxyBC/Da Fe5vgpOTy566zjVPltuNgGjRtw/jQ2qG7TeUeHTUl8s1UyRjKQJRdWvW4GzgVrk4iV J2WhQuxJJrEOW6/9DFixEzUbYedHAM2WJPSTZVZ8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([83.52.229.196]) by mail.gmx.com (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1Mlw3N-1ji6VY3MDz-00j0Zs; Fri, 27 Mar 2020 17:58:23 +0100 From: Oscar Carter To: Forest Bond , Greg Kroah-Hartman Cc: Oscar Carter , Quentin Deslandes , Dan Carpenter , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: vt6656: Define EnCFG_BBType_MASK as OR between previous defines Date: Fri, 27 Mar 2020 17:58:02 +0100 Message-Id: <20200327165802.8445-1-oscar.carter@gmx.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:i64WLuuBlH5zjJOlTQQLImLgRD41YGY5ZJhHE0jJuQEnzwq4yqR TVxVsqlhsukqr+R8qyYaVkSg1uoGovJ/gYvzNr6hpsRB4wz2D4hGkcYv+saJ2UuPKbNFSw9 AImGOIrho19SqvurSfIN9HHr84Z2xYM6TNZR81GqW+MBaExnuE8ftKEL81iLWMJlxIfXnMA Y62+XZKHG+0p170vaaKaQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:/TOggogyzWo=:ufr9yTlqutiJ14LyJOqua3 KSKJmuG/upPK5CUlInYL+kYYYwvvOXACQ0vKwKYzT4QJ+CdDBEuBsuu+7814rk8aSQ8/89RoU Yw0FgBRgCKkKJbm77FWGgSNyFxSjmzxrCpKXxpfdi98fWkqBCpDUKm2SrppSqBMZwPDHksLNC VwMghFNF2PdY7pgrq95pKg2tU+5lcapwuqSR6u38fZDmPtuMbMpPOVZ7p0TQeHYA3tYsQXj8e T6OB6b+g//ABBP45YsC3XEcUu3H3sxl+qyC0wrIflG9Rtiwo1C0ByDHQKLXzWaYcuBTOUPmEc xrEuU4pGZvwb/L6SdAFXYEbKU4oKwBUVRwXUGQ8HiMZJcV+dnqvjzJ2PWWay5oEqDJjgQQDas 6RMb8xWClw0lY24Tf4joY4ZOiGHZrLfR311iguXoJTURQ6kZrGwK5viUOsLQMWM6Lm2dvXOJV zES36rY9u5ErYUT65mIXPRU9FZjks4uh3YIZbkdnRTVuOjOdYUrbTioccwLa03E4AamATtvN9 qYJJaC0WfWQevhfccsmbI0fo58aII0n9xjwX/wiEdKK2JbfWEmtrYwXCYHdgYOk3jub1d04Sy DXykaBrOcsFD18OnAXU32Ryl3Liuos5i5PxsuhRTAFoKkr6IFexyTlWFAntN3MYa/SLGI0vHt 7kZjIdN3LV0k59xr2hCv+g/e7sog8h9mJ1mx6kTlV/tdFw7AbP+QK5iiXpX55ZpQcZ2Zlj6xP 7UMv1hYvqw2h9I/MDhqJG3bYCR4VX9RspYkrAXLxtLw7gjQeXLKg4B62BYQqIBWVOWzAuoYe2 97RJBPKC5ICxWtWevQGR+hxV/hlevjIS+eErJs2fPB+cBnFOkulhGS4rVQfpp1WhNL7Q9evff 1ZO0zIF5tlaR4/1tOEKvvJUI9VZuyI7NCvN0580SZBEcL07l9jRlelJj+8qYFiBBhIt7P6GqY AUHqExz61C6zV2MEw4R0Zqf9qGhrHlf8kbGYTJDsaYBgqRJQB7HWwphZzyZdIy5x52ZP1UK1i 3ZnV2YiSmJQjHYWMF3UHqm0cDTaXNhVzvRrxVz0OSLFRF6NLL/P1Pfl5DldD/re4Z9OlEoRxP agkSOFXNBuhg8IUCe5sHxFa8Vxy5XokBSlNzGqX4jTWU3JKnAuWJmdZCBqQzstX9pXxg/LRMj plTIWihhabeoiGWXXK+HAW//0UYh9d+ugiyNInDT87nOqoO/cGcMgL6Yva5ruVqvaCcoWEctg 24fTDHRIzYzKKT368 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Define the EnCFG_BBType_MASK bit as an OR operation between two previous defines instead of using the OR between two new BIT macros. Thus, the code is more clear. Fixes: a74081b44291 ("staging: vt6656: Use BIT() macro instead of hex valu= e") Signed-off-by: Oscar Carter Reviewed-by: Dan Carpenter =2D-- drivers/staging/vt6656/mac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vt6656/mac.h b/drivers/staging/vt6656/mac.h index c532b27de37f..b01d9ee8677e 100644 =2D-- a/drivers/staging/vt6656/mac.h +++ b/drivers/staging/vt6656/mac.h @@ -177,7 +177,7 @@ #define EnCFG_BBType_a 0x00 #define EnCFG_BBType_b BIT(0) #define EnCFG_BBType_g BIT(1) -#define EnCFG_BBType_MASK (BIT(0) | BIT(1)) +#define EnCFG_BBType_MASK (EnCFG_BBType_b | EnCFG_BBType_g) #define EnCFG_ProtectMd BIT(5) /* Bits in the EnhanceCFG_1 register */ =2D- 2.20.1