Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2142215yba; Sun, 5 May 2019 23:52:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqxEhDQU0D/XvD0uP758/m89hpkhaOeCgJLb/rn3M+6p/tMithyb782vkf2HY5WsO5MasZuY X-Received: by 2002:a62:2a55:: with SMTP id q82mr28912086pfq.90.1557125570620; Sun, 05 May 2019 23:52:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557125570; cv=none; d=google.com; s=arc-20160816; b=qgGtipfLsTiDqh4jDKjyTyx085QMj3jev4XwmVV8WepSqZFysgf8c6hVdw+wJt6uYl QlEhZq+zhFLKMQdYZXGUeFrUfS5dGBzrYjD9ETiYcKEMbjMT6CDX660LwdpTHUxqIKPo oPvO+D39BMt+5/qqUqWXqpsYKq3hkjYl+DBreI5R4cmXYNqDYpzXektPlL6GCd98LFqN IPDfZGwU54ZKyfn5k/LTB61l2J/wHbDYrnTq7GZCE/zkk2B/kiR1goCtcdUsPKwfnFgp N5P7HZa/v7t+EYstHC3/McyUl5i5cIM+FKj1hxWKVhFkk+K1t9xigyDHpp10oWBE0mgp wYKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=aZlUxmHAnTfV4fvuRR07OAFwnrB0KNHVpt968yquJ20=; b=RXKTeloEzUSHFafheOUTvuU7E9v4ufbN7PIflGVLIClg8GaqJWx69+mbcJdPlRwUSu cxyZhkIdL4E2JuDf3AZzE7lWETvze1PnTO236V7pzx4GiP3dOAIEBA+bZggSE5vYZNx0 8siKXBrwIsiyNXC2L7o2hFqIuPa9JO0YPQcLNBqhnzg3G8LxD4XqPpn+Xu5zuJuM/GkM V+zMY8Z1vQDvZQ0EqE74KCpcEzn5NTxHkoB7H6Q3InS4FaDvqr47ZHm71AnUjzu4bInJ SgR8k/ghSwWFCPbutZcqmYMv/oE9o+2UfjgBzBUjImJ/vNTiYoqIBUYLQwTglzeVIuwj oiGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@analog.onmicrosoft.com header.s=selector1-analog-com header.b=rv+1FVnA; 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 t1si13228887plr.373.2019.05.05.23.52.34; Sun, 05 May 2019 23:52:50 -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=@analog.onmicrosoft.com header.s=selector1-analog-com header.b=rv+1FVnA; 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 S1726268AbfEFGvi (ORCPT + 99 others); Mon, 6 May 2019 02:51:38 -0400 Received: from mail-eopbgr710056.outbound.protection.outlook.com ([40.107.71.56]:39136 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725830AbfEFGvi (ORCPT ); Mon, 6 May 2019 02:51:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.onmicrosoft.com; s=selector1-analog-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aZlUxmHAnTfV4fvuRR07OAFwnrB0KNHVpt968yquJ20=; b=rv+1FVnApWblORq9qEh+/0QewDuvpmPpEXu2DbGD3JkryITdtvlfILh2Ecwgg4lIVjuVXmcbpE1yPyGhg02bI09ZaDUZilUoWkgUGSLX8kJ3A8+WFh5ILyLl7oUkqdmfIVO7MMQ0BzYAvwgIVWGMcCh4u4vsr0xP070VD//L3OI= Received: from CY4PR03CA0017.namprd03.prod.outlook.com (2603:10b6:903:33::27) by DM2PR03MB560.namprd03.prod.outlook.com (2a01:111:e400:241c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1856.10; Mon, 6 May 2019 06:51:34 +0000 Received: from SN1NAM02FT050.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::200) by CY4PR03CA0017.outlook.office365.com (2603:10b6:903:33::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1856.10 via Frontend Transport; Mon, 6 May 2019 06:51:33 +0000 Authentication-Results: spf=pass (sender IP is 137.71.25.55) smtp.mailfrom=analog.com; linuxfoundation.org; dkim=none (message not signed) header.d=none;linuxfoundation.org; dmarc=bestguesspass action=none header.from=analog.com; Received-SPF: Pass (protection.outlook.com: domain of analog.com designates 137.71.25.55 as permitted sender) receiver=protection.outlook.com; client-ip=137.71.25.55; helo=nwd2mta1.analog.com; Received: from nwd2mta1.analog.com (137.71.25.55) by SN1NAM02FT050.mail.protection.outlook.com (10.152.72.128) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1856.11 via Frontend Transport; Mon, 6 May 2019 06:51:33 +0000 Received: from NWD2HUBCAS9.ad.analog.com (nwd2hubcas9.ad.analog.com [10.64.69.109]) by nwd2mta1.analog.com (8.13.8/8.13.8) with ESMTP id x466pWBL021375 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK); Sun, 5 May 2019 23:51:32 -0700 Received: from NWD2MBX7.ad.analog.com ([fe80::190e:f9c1:9a22:9663]) by NWD2HUBCAS9.ad.analog.com ([fe80::44a2:871b:49ab:ea47%12]) with mapi id 14.03.0415.000; Mon, 6 May 2019 02:51:31 -0400 From: "Ardelean, Alexandru" To: "ardeleanalex@gmail.com" , "melissa.srw@gmail.com" CC: "kernel-usp@googlegroups.com" , "lars@metafoo.de" , "linux-kernel@vger.kernel.org" , "Popa, Stefan Serban" , "knaack.h@gmx.de" , "jic23@kernel.org" , "21cnbao@gmail.com" <21cnbao@gmail.com>, "Hennerich, Michael" , "linux-iio@vger.kernel.org" , "devel@driverdev.osuosl.org" , "pmeerw@pmeerw.net" , "gregkh@linuxfoundation.org" Subject: Re: [PATCH 2/4] staging: iio: ad7150: use FIELD_GET and GENMASK Thread-Topic: [PATCH 2/4] staging: iio: ad7150: use FIELD_GET and GENMASK Thread-Index: AQHVAmZEuvjZKalljUODTfy22uS+XaZd7oYA Date: Mon, 6 May 2019 06:51:31 +0000 Message-ID: <179d019c34cc69e50f19499a6089ac94740b59f5.camel@analog.com> References: <7f7d36348bca1de25bd70350b7c665be6441250f.1556919363.git.melissa.srw@gmail.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.50.1.244] x-adiroutedonprem: True Content-Type: text/plain; charset="utf-8" Content-ID: <7C855B05558C3C478658EC39E2C73FC4@analog.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:137.71.25.55;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(979002)(136003)(376002)(346002)(396003)(39860400002)(2980300002)(199004)(189003)(36756003)(356004)(76176011)(23676004)(2486003)(14444005)(118296001)(106002)(70586007)(70206006)(8676002)(5660300002)(246002)(8936002)(7736002)(7636002)(305945005)(47776003)(14454004)(102836004)(6246003)(50466002)(186003)(2501003)(4326008)(6116002)(3846002)(53546011)(26005)(229853002)(7416002)(2616005)(316002)(478600001)(126002)(476003)(486006)(7696005)(54906003)(110136005)(11346002)(2906002)(436003)(426003)(446003)(86362001)(336012)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM2PR03MB560;H:nwd2mta1.analog.com;FPR:;SPF:Pass;LANG:en;PTR:nwd2mail10.analog.com;A:1;MX:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b786019d-19f4-465b-2d24-08d6d1ef46e1 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4709054)(2017052603328)(7193020);SRVR:DM2PR03MB560; X-MS-TrafficTypeDiagnostic: DM2PR03MB560: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3968; X-Forefront-PRVS: 0029F17A3F X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: A/Vl/Kdfww9B6FU2TsYUhDJU6FUUNIgWED+x9YrpBZja/88Xava3MSy5fGgSD625//ETTNjSeiB1UGl8CDmtdsVELppmxA63+zSkUZHMtR7eiAXwt0OcS4Yl0aFcHy9n4UkQxguYTwsHxYpiYsKH9gOiUF3OgbAXXpcYrNOn3AW/rZLbjmvYF5vfttORqSKUUPe3D2JW9oplSjHwNSGhrfG/BGd61EXaDVRv2Jmd3Bx2yK7ijEoF0/+6OsMwugHKb6zu1gWRbONinrNXMjZsoXGmdgzJlkHBfbwbeIm08iJQQqol3B54l4pgPV8/IlwIl+vsNMSReyu5qt1zDegukvyMQhTjqJ5uW0Yx4dMh3Rzdjch7KSh41tiRqx5tqG3Oe3M7HaK3c/l6hZfDhlLUgZ71rupmj4ko1G9iME1TFeI= X-OriginatorOrg: analog.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 May 2019 06:51:33.1271 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b786019d-19f4-465b-2d24-08d6d1ef46e1 X-MS-Exchange-CrossTenant-Id: eaa689b4-8f87-40e0-9c6f-7228de4d754a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=eaa689b4-8f87-40e0-9c6f-7228de4d754a;Ip=[137.71.25.55];Helo=[nwd2mta1.analog.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR03MB560 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gU2F0LCAyMDE5LTA1LTA0IGF0IDEzOjQzICswMzAwLCBBbGV4YW5kcnUgQXJkZWxlYW4gd3Jv dGU6DQo+IFtFeHRlcm5hbF0NCj4gDQo+IA0KPiBPbiBTYXQsIE1heSA0LCAyMDE5IGF0IDE6MjUg QU0gTWVsaXNzYSBXZW4gPG1lbGlzc2Euc3J3QGdtYWlsLmNvbT4gd3JvdGU6DQo+ID4gDQo+ID4g VXNlIHRoZSBiaXRmaWVsZCBtYWNybyBGSUVMRF9HRVQsIGFuZCBHRU5NQVNLIHRvIGRvIHRoZSBz aGlmdCBhbmQgbWFzaw0KPiA+IGluDQo+ID4gb25lIGdvLiBUaGlzIG1ha2VzIHRoZSBjb2RlIG1v cmUgcmVhZGFibGUgdGhhbiBleHBsaWNpdCBtYXNraW5nDQo+ID4gZm9sbG93ZWQNCj4gPiBieSBh IHNoaWZ0Lg0KPiA+IA0KPiANCj4gVGhpcyBsb29rcyBuZWF0Lg0KPiBJJ2QgaGF2ZSB0byByZW1l bWJlciB0byBhY2sgaXQgZnJvbSBteSB3b3JrIGVtYWlsLg0KDQpBY2tlZC1ieTogQWxleGFuZHJ1 IEFyZGVsZWFuIDxhbGV4YW5kcnUuYXJkZWxlYW5AYW5hbG9nLmNvbT4NCg0KPiANCj4gT25lIG1p bm9yIGNvbW1lbnQgaW5saW5lLCB3aGljaCB3b3VsZCBiZSB0aGUgb2JqZWN0IG9mIGEgbmV3IHBh dGNoLg0KPiANCj4gPiBTaWduZWQtb2ZmLWJ5OiBNZWxpc3Nh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