Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp505017pxj; Thu, 10 Jun 2021 06:12:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4pMIocO1maYJjv5DWtZhfuaVcv1t8WN1hYpaPY2DGjooSsVsacBDeYjeQa+NRmUJoZxyQ X-Received: by 2002:aa7:ce03:: with SMTP id d3mr4591642edv.360.1623330752933; Thu, 10 Jun 2021 06:12:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623330752; cv=none; d=google.com; s=arc-20160816; b=nhg7wgwbNo5kChEbXbiTavp4wXS4PyfAnmvZ4S072b1LFhAcmKYrhBuUbKXq/j7Bwa NtvbFlkTYI1iXqjnHCwsq9jt0Zsllp4Pvd8d/zcp5zZNgDLoIxUddYnNqRxp63fvfDjl Qx/je0cSPmFNpVHepGTAAh40mzQke++WYX4CL2wy/GhhgfuEfbhghvO5ozXi77sB9t+7 vgZUAN30sDki0Olm9SxSfCLpYzbhrCRg0ZSIUbC06JVOViBBjVWoHtBL1fTjwL8KwG96 p3yl2ovlH3NbMeAPEGyIC9PF2srai6WfYCmoBBWKJA6r+JTVeIQFNB2LIIJdiiMtM1aa 9TfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=htSI9h3Zr8hCzl78KsP+SRJ0DxUWP0xUhdKybFCveBE=; b=e5z67jQUwP9GS78TebePJ9nNQlZYoyado9mSWpAnEXlC67InlGU5C+r2Dmjpp4NW8b Hy2DLkHPraWD15O/0hqwHHseBBCtn1srcft3tDC1pZ7AzXSCeluilOT7YC5ErZ8PSpXM VzrIMj4oZxKBJoFdxuCXuVMO0DvPb9CE5+dMo0ebQeaC1M3ZqArXNdMu7lwms0MooXK5 djtDCJSPcd7zbz/ds4SHNGNBFtj1jzW+qnHsdbguG/DxAQmvG9dT1uoY10DiswcUOQVE +zT7ng+kC1AUsJ8xebjeHVdN1/yb/NG6uOty1Vvj25MAuEiXKkoys+UMQ6JI2T/C+nvy SbXw== ARC-Authentication-Results: i=1; mx.google.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b20si2184159ejq.607.2021.06.10.06.12.09; Thu, 10 Jun 2021 06:12:32 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230267AbhFJNM7 convert rfc822-to-8bit (ORCPT + 99 others); Thu, 10 Jun 2021 09:12:59 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:3196 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230230AbhFJNM7 (ORCPT ); Thu, 10 Jun 2021 09:12:59 -0400 Received: from fraeml739-chm.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4G13yV2cHCz6N430; Thu, 10 Jun 2021 21:01:38 +0800 (CST) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by fraeml739-chm.china.huawei.com (10.206.15.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 10 Jun 2021 15:11:00 +0200 Received: from localhost (10.52.126.112) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 10 Jun 2021 14:11:00 +0100 Date: Thu, 10 Jun 2021 14:10:57 +0100 From: Jonathan Cameron To: Paul Cercueil CC: Andy Shevchenko , Jonathan Cameron , Lars-Peter Clausen , Michael Hennerich , linux-iio , "Linux Kernel Mailing List" Subject: Re: [PATCH 1/2] iio: core: Support removing extended name in attribute filename Message-ID: <20210610141057.00007361@Huawei.com> In-Reply-To: References: <20210610124556.34507-1-paul@crapouillou.net> <20210610124556.34507-2-paul@crapouillou.net> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8BIT X-Originating-IP: [10.52.126.112] X-ClientProxiedBy: lhreml728-chm.china.huawei.com (10.201.108.79) To lhreml710-chm.china.huawei.com (10.201.108.61) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Jun 2021 14:05:53 +0100 Paul Cercueil wrote: > Hi Andy, > > Le jeu., juin 10 2021 at 15:58:51 +0300, Andy Shevchenko > a ?crit : > > On Thu, Jun 10, 2021 at 3:47 PM Paul Cercueil > > wrote: > >> > >> By default, when a channel has an extended name, it will appear in > >> the > >> filename of channel attributes. E.g. if the extended name is "aux", > >> the > >> filename of a "sample_rate" attribute will be something like: > >> in_voltage0_aux_sample_rate > >> > >> Add a mechanism to disable this feature. This will be used to add a > >> "extended_name" channel attribute. > > > > I'm afraid, NAK. Otherwise, please put an explanation that clearly > > shows that it will be no ABI breakage. > > I.o.w. users for the existing drivers and devices will always get > > those attributes at the same platform configuration(s). > > Well, the commit message says that I'm adding a mechanism to disable > the feature. If it was actually doing anything else (like actually > disabling it for any attribute) then I'd mention it in the commit > message. > > I don't see how that possibly can be a ABI breakage. Ah. Both Andy and I got taken in by 'removing' in the title. What you really mean is identifying the extended name. That's much more acceptable :) Jonathan > > -Paul > >