Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2356315ybb; Mon, 30 Mar 2020 04:46:39 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvPhJSlmei8BRNI9QtJ1o1F5LUg2cpxi5Z4QYRqZzYDVBtuBIcGRG8D5B0faSElkIJ6ATtS X-Received: by 2002:a05:6830:1610:: with SMTP id g16mr8522424otr.358.1585568798740; Mon, 30 Mar 2020 04:46:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1585568798; cv=pass; d=google.com; s=arc-20160816; b=ydOM4VipDjUTv5KxDPlJ0YEIhR2wld557TtaoGM42wnqj9Cg4ISLSIoMerXvi7z0eF X1Lok7S6B/rJ8FNnIEoXeCzf3q2PVf/sytnwV4RAMAxzB7IseZI0Ya2nQ6kXLEYVPV57 DE4B1e2JbDSPIPSFXEtDTi1N7CqYjQDxnEzWC15Y6VA2LnTPF4q/Qj/M9pED5za3nh45 AYERY7H4Fk6WKVUfqKXvbFf8IgOPztX24VqvPEdbjNnuuqNGjAXW7Q0XlajmMWRWpFAF GwxhtUIYCGIp95K/Pri52tiWonbh1uGD/NFPIEw5VvljdCJh/8iGBBSNWkNNy0HqOOHM HRZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:in-reply-to :content-disposition:references:message-id:subject:cc:to:from:date :dkim-signature; bh=R1M9OIXFMvno7+qcD2ZC5RToymn/NcIiDGpLNH/06JA=; b=mSFPuRQwfoEMNmb2lF7ENLp0eI8Zpo26yQ7jn4JhvPpEQNcx0bN78Lha+GpqY8fnjP HGgxwbxNNHTHP+goxXzd56zn2Z7qA9qkVxCEYHhU+8vjt01x0/PsHPYEj5F7zWz0SQML m0A0H2QMCPB+Ko6zCANWBfTwVuQ4kaYV6s99fUY2Gr/bZYU/eufhrJ62K/VbVtWYRMv7 Hh1cuQ2PlCeh6kGkwDR5vIXD0ClxtFgFEARQjB8FudqHsimrnR5H+rafb0AlhCfiJMI6 5nUH2fDPHg1bycDZuf9lqbYFiTz+Q+YSSI+2YMwTzWE/JNJ6wvdTTgXilst+bJG/KVBN RYfg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@itdevltd.onmicrosoft.com header.s=selector2-itdevltd-onmicrosoft-com header.b=RaEo5aI9; arc=pass (i=1 spf=pass spfdomain=itdev.co.uk dkim=pass dkdomain=itdev.co.uk dmarc=pass fromdomain=itdev.co.uk); 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 k25si5445086oik.162.2020.03.30.04.46.26; Mon, 30 Mar 2020 04:46:38 -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=@itdevltd.onmicrosoft.com header.s=selector2-itdevltd-onmicrosoft-com header.b=RaEo5aI9; arc=pass (i=1 spf=pass spfdomain=itdev.co.uk dkim=pass dkdomain=itdev.co.uk dmarc=pass fromdomain=itdev.co.uk); 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 S1729837AbgC3LqL (ORCPT + 99 others); Mon, 30 Mar 2020 07:46:11 -0400 Received: from mail-eopbgr40062.outbound.protection.outlook.com ([40.107.4.62]:55387 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728764AbgC3LqK (ORCPT ); Mon, 30 Mar 2020 07:46:10 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hgg0FKwTadNBqDNLFZVC7jQPBhVTWaVWRhMxbRQlaFl84VGGpK0XX1KMEI0Bj6VN1s9AFFCYvIOeYE1FBP9ItDBVj9/Se47c2sjcIz4on8o2181SOmNsi1vtBYL7i2XJ+Wn5XMNJUlfTvWOLN0IwNCA9mE8tt5DJAf2K+FwFsPMJibfW7SIkdPKDpGUFgEFz9Wowd7Iz8rLBnavRfdLf3drZz8EhPdDJBcR0bMPB1uSSglWtRsumAn7F0NBr0QVBmsJhJNrV/XnDjR1wV99R4FBtNxGDETDHQTsqWCOZXmbg9aSvQJvMtVdtjBmvWty9bHlaEc1MbQSrqzwquuxQJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R1M9OIXFMvno7+qcD2ZC5RToymn/NcIiDGpLNH/06JA=; b=QhewnuipxHsTPQvIEB0nRT5cFjBiDiOnWLP4XQMfsIFtHCE+2zrlObwXXidENOKqvD59vaOB/ZINMFLWaZV81DoqTdCM3RnV9zo0ju9erDqnrxmYH+Qc8/G1XxgMcarXRGJ9gPtWF3FLNTmS9OJFa4a+OhOPdFTtJKzCqnIw8d1s3Gkn3kXeS6QYddFRdKmKj3wPK0G540/NkpdWGDBZ+4q5nRHSjWJY2Tg206UtoYIOiWNYDsGmS9L3YAcMU9F9W1Sjx+7e3FcC2zKUk8CRJyBzez2WzjaTrwYfybZs3N9RAcV7l8fr0Fzizw5oHjR0B5ucJLwjNSlKcvOl4AwRMQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=itdev.co.uk; dmarc=pass action=none header.from=itdev.co.uk; dkim=pass header.d=itdev.co.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=itdevltd.onmicrosoft.com; s=selector2-itdevltd-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R1M9OIXFMvno7+qcD2ZC5RToymn/NcIiDGpLNH/06JA=; b=RaEo5aI9U9r6V/jWV6rODxqRDgsnXNiQqGbRgTY1w3Dd2bZC7Vtr0N1Jme7TYnvcFkwKtx0qUxETsPD8yMc0g4VDcKKwlidSQuluGVDvMG/2tw4urPYh6GC7xrNNuMfABhJAhLkflCBkpyO+eOrm/TopP94wy2KL2AUrchFXxHg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=quentin.deslandes@itdev.co.uk; Received: from DBBPR08MB4491.eurprd08.prod.outlook.com (20.179.44.144) by DBBPR08MB4789.eurprd08.prod.outlook.com (10.255.79.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20; Mon, 30 Mar 2020 11:46:07 +0000 Received: from DBBPR08MB4491.eurprd08.prod.outlook.com ([fe80::cce9:f055:f034:3659]) by DBBPR08MB4491.eurprd08.prod.outlook.com ([fe80::cce9:f055:f034:3659%4]) with mapi id 15.20.2856.019; Mon, 30 Mar 2020 11:46:06 +0000 Date: Mon, 30 Mar 2020 12:46:04 +0100 From: Quentin Deslandes To: Oscar Carter Cc: Forest Bond , Greg Kroah-Hartman , Dan Carpenter , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: vt6656: Define EnCFG_BBType_MASK as OR between previous defines Message-ID: <20200330114604.GA52025@jiffies> References: <20200327165802.8445-1-oscar.carter@gmx.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200327165802.8445-1-oscar.carter@gmx.com> X-ClientProxiedBy: LO2P265CA0342.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:d::18) To DBBPR08MB4491.eurprd08.prod.outlook.com (2603:10a6:10:d2::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from jiffies (5.151.93.48) by LO2P265CA0342.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20 via Frontend Transport; Mon, 30 Mar 2020 11:46:06 +0000 X-Originating-IP: [5.151.93.48] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fe282265-44d6-445d-86db-08d7d49feec2 X-MS-TrafficTypeDiagnostic: DBBPR08MB4789: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5516; X-Forefront-PRVS: 0358535363 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DBBPR08MB4491.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10009020)(136003)(366004)(376002)(346002)(39830400003)(396003)(53546011)(33656002)(81166006)(9686003)(508600001)(6916009)(8676002)(55016002)(81156014)(33716001)(2906002)(86362001)(316002)(52116002)(66946007)(6496006)(54906003)(5660300002)(66476007)(8936002)(4326008)(186003)(1076003)(956004)(9576002)(16526019)(26005)(66556008)(44832011)(518174003);DIR:OUT;SFP:1101; Received-SPF: None (protection.outlook.com: itdev.co.uk does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: T7293nycefwjs83W9fd0+ucNFCZ5xBbzwGhpBt8xvKzzfpJ407Pyh0JIcnXUo+0t3QMhJtYBKYYE+8y3cTYMBoFJ7jcghzkhpdZoVk1Zz/Qj4e+goFWO531DcKJRhhLxQSJgnvl8+GmpJrSYqOsCYaIUY7Xva7oFITKF21HsRuFNPDTr78HXZNc7hjHdrX8bXl0cAvxy7lOjzHgjvj7ochtFuscUe1UTwfE8aBQVeMFBveFGzvKDOQbXpFctEGnwUyTtw6XNBEKCHru6OYW3lrvoOItuYr1r1n1DFNvJtBaG4dK79nUdIiMRqpp2oGpEXUeKwf2Tyhpo3wTMnSgbzwRjLT0nTyLq5OviZevBsOSOQBzez1Lwqfy1yxL+J2Zra4aSgLzQg47ZAR3m8HfJN9Oe7byXiU3JBQl1sz9dEKGBHX8kgRsh40J5tuIDKyAltlH3BFuArIz1Ue+NRWOx7O+waX0V1WP7Kf9kDU1JT5URSlGNhUb3GGwa8hQkZa4V X-MS-Exchange-AntiSpam-MessageData: zQJ6Z8rXJ2Lu/Drtc/iorheXtjMp1Oq8aSGaNaz0YZQEijpBIzgVx8zlOGtotyMShJUKy4MseLLKKh90iGnV4OgKVIjG9/ViC2R2OZUNRzkw0Z+UU54TlywfenIQyyH8YbJcj5C3ZrWs1VlnYig8og== X-OriginatorOrg: itdev.co.uk X-MS-Exchange-CrossTenant-Network-Message-Id: fe282265-44d6-445d-86db-08d7d49feec2 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Mar 2020 11:46:06.8458 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 2d2930c4-2251-45b4-ad79-3582c5f41740 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: /qsR7SR+f7k0noula9GyUxbkUS5h5i77UmXXviu+BS7OrUghoGCwG/1IM3ypeZN9xmQ4R0pei1DfPykTJ/Itw++1ublywNnI9Zrl3UuPdRU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4789 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/27/20 17:58:02, Oscar Carter wrote: > 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 value") > Signed-off-by: Oscar Carter > Reviewed-by: Dan Carpenter > --- > 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 > --- 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 */ > -- > 2.20.1 > Reviewed-by: Quentin Deslandes Thanks, Quentin