Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp876623ybs; Mon, 25 May 2020 01:09:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuHs3OuseEfaM4j/z+nWJIGyY/qZqdOq0qXxciqXiDuicJ+Oq2ocfDjRIqo+lJ8JO5i26S X-Received: by 2002:a17:906:fb0e:: with SMTP id lz14mr17304420ejb.237.1590394150931; Mon, 25 May 2020 01:09:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1590394150; cv=pass; d=google.com; s=arc-20160816; b=utHBhkEtzjVUumlJYZ1+s6KT07eiNQdoMTjzrDBtUWGWvWMgpr0walVZiXLhvm5aNx Dx1eXwpmDHwDtsa3NwWmKf7bfYOccqwobhs3LOUTH4u8M2Y5sEi6OnpNqS+NceZCjGTP HEdfIrrmkFT0HyQCQdJ5zogdjsCXEr83DzH1Xqs+lsXU/j5nVqhkC4xR8VUAw82HLujl qRynWuZs+CeqV9vVeKKzZqWUpGbHS7VJg2/hFMNs/1eojpJOamNlNQ2/NX277qt8zdjs Cu/lt0tg2jXNRa3HY94a2ht6GIbxkGWTYFOu1dCRhyinbhoH5yqX8qy66upzAFwxkfCs zHSA== ARC-Message-Signature: i=2; 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=S7qu1/tYMJMjq13skwVLDSA98TngZkd8+9P3ewGX4CE=; b=vPYJ3JaZhfRbg1qWT88MBhA0R0yORBXzObgnNNaV+TBDXIADT1cgxC/C4qHiA25mok hdEYBF4BrrxAnBN6HMdiuEd0Gi26fntI+pB40qihTG0JNq8RowlVjRJ7lkSK/NttVJz9 nOvxlAp957lVXtQBkGUsa1BWe25aHbyxqf8Jti9KdODIiGd52MSUwa+g+MZllkHL9/Dg d1uqvmWpZBHl5y4thp1QMouu1kWshIqXZ2zE6NtVu/94TBwRPho/chS1m/HWtIbX0cza hD7h0dN5eb0HbD4Ev1xJSFZ0tAS0ehjvLak7P7Fkm0gvFD9kSw6OjHJzhgiBMVXlTYHv 3YdA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@analog.onmicrosoft.com header.s=selector2-analog-onmicrosoft-com header.b=tfsmpFeQ; arc=pass (i=1 spf=pass spfdomain=analog.com dkim=pass dkdomain=analog.com dmarc=pass fromdomain=analog.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ck20si9259284ejb.528.2020.05.25.01.08.47; Mon, 25 May 2020 01:09:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@analog.onmicrosoft.com header.s=selector2-analog-onmicrosoft-com header.b=tfsmpFeQ; arc=pass (i=1 spf=pass spfdomain=analog.com dkim=pass dkdomain=analog.com dmarc=pass fromdomain=analog.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389094AbgEYH2A (ORCPT + 99 others); Mon, 25 May 2020 03:28:00 -0400 Received: from mx0b-00128a01.pphosted.com ([148.163.139.77]:29432 "EHLO mx0b-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388948AbgEYH2A (ORCPT ); Mon, 25 May 2020 03:28:00 -0400 Received: from pps.filterd (m0167091.ppops.net [127.0.0.1]) by mx0b-00128a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 04P7PP3P031195; Mon, 25 May 2020 03:27:45 -0400 Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2170.outbound.protection.outlook.com [104.47.57.170]) by mx0b-00128a01.pphosted.com with ESMTP id 316wkavtky-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 May 2020 03:27:45 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B9GlLq6q07omAuIZ+l7HwAUlKXDnMaAHkr+/vRuq+q62yw++cJgsJaTkytcHjrNWDUpp/4yrEbDt60rws1TltAGwWlaeGN2TAnW3/sx/uaVmNG061ADuNRoAzFAy0XKWPf7oRoEXz9DJdM996xMnHtKqJaKEDG8+camHYdUNgQrjuMPjro97+c6OsdWjoDnnekmN3rIVctMe6kflS9foM7yBnT95KfBdF0nO+mKJo8Pc+/gANHIkrSFgvIc7i/Jviz4h6KLk8yC83EUO4yldnDWDIrwP2yTUlaql5C/JE5tKyfHRuJpK/kALTvyJOYKKqP+0S9kHOBJkPriH4SCHsA== 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=S7qu1/tYMJMjq13skwVLDSA98TngZkd8+9P3ewGX4CE=; b=fdTjWzWqZzObfHi4dHTcchNbkHJWKBBhm3A8E7xR8jL2aMWe8/VKgXJyoZs9cxAwBSZjNrSo3SKZvi2jy+yrKKpST3H+5CAyNmlo7ZHG0kXwMRANN9AtAiYpgYwyDXtjouYyjXtq02s2W7x1UwssErm2Xdm0CKA5fmC11R1Ybklxceh6x8ZKjBdVT+9Ir+6aMIix8PRu5k/idaCagwXMYtSbmDx9OKZQ9km5T1z29Ll7HGjQH/ifam7C21AtZwsfzAJMJ4N+O2uZWka7KbdDsByetCVvtybh0rvh1Ob0icoQYb34DgdVKi2mqIcfXomX5mI10nDAtEs6UGSkMCJdRg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=analog.com; dmarc=pass action=none header.from=analog.com; dkim=pass header.d=analog.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.onmicrosoft.com; s=selector2-analog-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=S7qu1/tYMJMjq13skwVLDSA98TngZkd8+9P3ewGX4CE=; b=tfsmpFeQMFd/u1isx2JulNKb1hy3E4skMsYHikinY5GFfGgpJ0Pd3VRCTs7Xeqw59AaQYC8qqjU0acznpzvM2zViO0/Lo9MIYBdayQcN/ziQsvWoqpJ4QeFnu5xBjBd12odMyGS3i7HlmKaOtqdUiTdAqr8mjj/MJBTgEIhjOnY= Received: from DM6PR03MB4411.namprd03.prod.outlook.com (2603:10b6:5:10f::14) by DM6PR03MB4715.namprd03.prod.outlook.com (2603:10b6:5:181::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.24; Mon, 25 May 2020 07:27:43 +0000 Received: from DM6PR03MB4411.namprd03.prod.outlook.com ([fe80::e02f:b3c0:d1e9:5eaf]) by DM6PR03MB4411.namprd03.prod.outlook.com ([fe80::e02f:b3c0:d1e9:5eaf%3]) with mapi id 15.20.3021.029; Mon, 25 May 2020 07:27:43 +0000 From: "Ardelean, Alexandru" To: "jic23@kernel.org" CC: "linux-kernel@vger.kernel.org" , "linux-iio@vger.kernel.org" , "lars@metafoo.de" Subject: Re: [RFC PATCH 08/14] iio: core: use new common ioctl() mechanism Thread-Topic: [RFC PATCH 08/14] iio: core: use new common ioctl() mechanism Thread-Index: AQHWJUAk1Ph98y+dnki8gGdjFYk3iKi3i5AAgAD17wA= Date: Mon, 25 May 2020 07:27:43 +0000 Message-ID: <5a5336379f0458b9f2804350711fdbb537cb3fed.camel@analog.com> References: <20200508135348.15229-1-alexandru.ardelean@analog.com> <20200508135348.15229-9-alexandru.ardelean@analog.com> <20200524174738.04c191e1@archlinux> In-Reply-To: <20200524174738.04c191e1@archlinux> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=analog.com; x-originating-ip: [137.71.226.54] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 121ac376-9e61-42b5-f3be-08d8007d1d41 x-ms-traffictypediagnostic: DM6PR03MB4715: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0414DF926F x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SFfu5mLLIRmbhoxL7fTX+EnOP+WYDi8VdI3HuhCRNqKs8R1Fv+Lx+ouWA9VNvW8a6RSh8eC4sZ4Sqeu0Ihcy5Jc5DEW34x4wls5ydhKqG4wg6AZQcXIiEv/r6M5C6j4j9mXa9IHnG+AK5/0OqkP8qNpHNX4zBSc0WY6YiNNIUVVVzfAoPmdEWiAy9aGkL8gEfIntqGatDGRFv5BQVeKTs+Dv/YqKVeumdHfQeD1JfJWpMsvt5375e5Kd9ZAd0WGVoLsY6jthq+BXsyXcAB649FRET7CdyMKyShCba4rrli3etXXjRstiFLm02k/nt/vX6gQizZIy2kzR6Xla/iieAQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR03MB4411.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(396003)(136003)(366004)(346002)(39860400002)(376002)(2906002)(76116006)(91956017)(66556008)(64756008)(316002)(8936002)(8676002)(66476007)(6916009)(66446008)(66946007)(4326008)(186003)(26005)(2616005)(71200400001)(36756003)(86362001)(54906003)(5660300002)(478600001)(6512007)(6486002)(6506007);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: Ra9QyTWnk/Tk3asbyxoWSURaSkC3Z4qpUA2mhplKVhZwcxO7CK2dmfKXkz9limc9yP9XfZ5M15h2sNAXrRlZbu+0VSdJ2ONT5B0D8HxCVlGDR5VZ5CsHL2rEyHJZ8rLy9kYViJ209xBBmJU+WcKOmFmQE2Kn1m+mZFNEAKYn2raR4Ih7k+wyQD5yUSTAGM39ns2Z9gGYgieJ6brHx+op24nPbSCfwpLz3st5wpfx/rZVfxGGkSlZzraDFxeK3rBN7nKkUHJhh3pCCfPOXJeQ87gy5qgk1GTSiqZl6ldJVe9ddkChoMK0HqbKnsiqIn7IJLvAZ0ynDzqFxLVkfPxRa5mrwijCy57NRoOoCPdv70+hfzZkkrxJ93fbXJD4o2LhdN753jSTiHilts57RS0MwK6R6gPmxwTzDLmcm6v0c6IPUddgr9cFqB4HQekZfwcKaCFlBWLz9wr979vUDaGOKfb2Z+iBuLTPHWS484o/CwI= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: analog.com X-MS-Exchange-CrossTenant-Network-Message-Id: 121ac376-9e61-42b5-f3be-08d8007d1d41 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 May 2020 07:27:43.2859 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: eaa689b4-8f87-40e0-9c6f-7228de4d754a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: aTrc16Wx7nCpmjGQ7y6a/IGVj0AiyZJ+BN+y8drATwHibzdCupRbN+OC6u12pIHfJabbAZLWFZ6Nb3Wanr/mTYh9JwN3y6q1jNqu3NIYTbc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR03MB4715 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216,18.0.676 definitions=2020-05-25_02:2020-05-22,2020-05-25 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 malwarescore=0 impostorscore=0 bulkscore=0 priorityscore=1501 spamscore=0 cotscore=-2147483648 adultscore=0 suspectscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=999 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005250059 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gU3VuLCAyMDIwLTA1LTI0IGF0IDE3OjQ3ICswMTAwLCBKb25hdGhhbiBDYW1lcm9uIHdyb3Rl Og0KPiBbRXh0ZXJuYWxdDQo+IA0KPiBPbiBGcmksIDggTWF5IDIwMjAgMTY6NTM6NDIgKzAzMDAN Cj4gQWxleGFuZHJ1IEFyZGVsZWFuIDxhbGV4YW5kcnUuYXJkZWxlYW5AYW5hbG9nLmNvbT4gd3Jv dGU6DQo+IA0KPiA+IFRoaXMgY2hhbmdlIG1ha2VzIHVzZSBvZiB0aGUgbmV3IGNlbnRyYWxpemVk IGlvY3RsKCkgbWVjaGFuaXNtLiBUaGUgZXZlbnQNCj4gPiBpbnRlcmZhY2UgcmVnaXN0ZXJzIGl0 J3MgaW9jdGwoKSBoYW5kbGVyIHRvIElJTyBkZXZpY2UuDQo+ID4gQm90aCB0aGUgYnVmZmVyICYg ZXZlbnQgaW50ZXJmYWNlIGNhbGwgJ2lpb19kZXZpY2VfaW9jdGwoKScsIHdoaWNoIHNob3VsZA0K PiA+IHRha2UgY2FyZSBvZiBhbGwgb2YgaW5kaW9fZGV2J3MgaW9jdGwoKSBjYWxscy4NCj4gPiAN Cj4gPiBMYXRlciwgd2UgbWF5IGFkZCBwZXItYnVmZmVyIGlvY3RsKCkgY2FsbHMsIGFuZCBzaW5j ZSBlYWNoIGJ1ZmZlciB3aWxsIGdldA0KPiA+IGl0J3Mgb3duIGNoYXJkZXYsIHRoZSBidWZmZXIg aW9jdGwoKSBoYW5kbGVyIHdpbGwgbmVlZCBhIGJpdCBvZiB0d2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