Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp978348pxa; Wed, 5 Aug 2020 18:16:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9ozUwq74oIO2N+SzCMlGZQMtB78IRr0ToJFUuDXW5/ANHZGVm1X40Oqf28tYbW7Lhv4vs X-Received: by 2002:a05:6402:16d1:: with SMTP id r17mr1812844edx.79.1596676568193; Wed, 05 Aug 2020 18:16:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596676568; cv=none; d=google.com; s=arc-20160816; b=OHhuSYqZUVfNFk7LaVwebgPLZseOgS2acoFSukVsQpn+4EEy65vqKs5pMxafDrTvCb ByE2iROlD74IhxJqPzs5tXMLyKHQUA9Ip8mnJpPLpB8nA+cXsvnX2zwu3Zk297XFUtGE 6eRi0aV0uCOqFWh+fbTWQIiGh4K4csbucmO6Yu1oK9/8IgqOmJjx1jys+eazbrTODi54 QC0LsMjAznSubyz2bWnWqGoy62CchRa67x73pBxbR9ggN8jZh4fhmKe5Z0Du2Aa3nhJB ZMw5RfD8m9Ues/nzyPXlO6A8qFPZx4eK4x/kNc/tgmvEd5OXy1Ef4RKAqE6oumfXEQ1d n9Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=uDEn5WbaWPVjadOM3efG6b6rzYHXFUMjTCE/PXxN2KE=; b=e2jfcQEiTHxC9cdGlGnm9cYd0JU+4NicgDFw86+mKKzVXo2K698sb1Tp1idhnF643H pSlrXL925FqYo/+/D0qp5lQxQZOnBsZBudeZ0Rr1mSuXGakDdV0SjpVFkv8smRCw9je3 JKpvxcS7Qd11lKNpofA7dDJtIh7nDtZhI1w5IdkU7saXHlG58n8qHcv8o0ulVHnOqGGI 5mZv1ojai95unmnS/pdINxH1z2XV3bl3936Rd41oBl0cJFAGO9d66fE/a4QoYWCGzgeD gdChu/WdlbHa3tb0YL9aSR1bHgFl9Id2WVpMTVLNxysKWunFeArKp6L+abuUVTR3xKIT KicA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZZTv9isO; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s4si277820edi.366.2020.08.05.18.15.46; Wed, 05 Aug 2020 18:16:08 -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=@gmail.com header.s=20161025 header.b=ZZTv9isO; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726789AbgHFBP2 (ORCPT + 99 others); Wed, 5 Aug 2020 21:15:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725996AbgHFBPZ (ORCPT ); Wed, 5 Aug 2020 21:15:25 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 544F4C061574; Wed, 5 Aug 2020 18:15:25 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id l60so5797003pjb.3; Wed, 05 Aug 2020 18:15:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=uDEn5WbaWPVjadOM3efG6b6rzYHXFUMjTCE/PXxN2KE=; b=ZZTv9isO88CSv/2LFGhQydIXIteR0kDnWuGu9LcmtfQAuhHQaMkTzAI/mlUltgQJeq idhJXGMWU9pPOAhHnwDHOL93WIgorsG6AScMcoO6Gt6fVsaYl5Hj38BYKlLCvDtft2ri rYHogv6eqz27qHK6OWYkTt0aJoZKovydZnIIMpGJxYr/SL+VaVDV4opscaaKsCVu7Qdy Ou8tF69bwv2eXbYcgoaqB8YGZZ9llWewGSplxLPPOL0en3ucj0vc/cZNzJI+gk60idIb ynzqsEQTXwFppNx5lU072pCBCcxt8cbDOXuOtIioSVo4ensuyYG6RhCku4H0NqHqpxpr 1rtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=uDEn5WbaWPVjadOM3efG6b6rzYHXFUMjTCE/PXxN2KE=; b=SXvxlG5RPlqYUMieX7mm3zcfru23UkOXyxgCb5RxJmOYvqdJ/0sM7CLFXY13uzseSY R4/CHN6FQyNdvUr85OKYPsdH6EAADbpxl1lPIwpGZFDjihlet9tU5u0A//O6iQ/TjPHR nn4LKe7a+Hz0xA/RVC9QoZ0gYdOJPJqnKP+geVrgbquOXxi/NkVeAN0Zu3Fn8g4eWM9S xOKi1bSUrZsiLySeBMqJQuhIOixH/S+3HRF0snB+GNHgoVHsCuucqnUaDiurTh/JR+Lt m2Ha4tff4AvkxsDn5vvNXVaphhdPJKLLZ6CNwj5bb26ChgXh/SltSRA9zg0Br/QOyYil 7SkQ== X-Gm-Message-State: AOAM531hLdynP08if66u+mkhvQ/S4ro+krWe9aMYHdUEtF4hX/ITt5B6 5FMB1AuVx88448QXiYd3Rws= X-Received: by 2002:a17:90a:e381:: with SMTP id b1mr5781174pjz.218.1596676519021; Wed, 05 Aug 2020 18:15:19 -0700 (PDT) Received: from sol (106-69-185-93.dyn.iinet.net.au. [106.69.185.93]) by smtp.gmail.com with ESMTPSA id a13sm5170877pfo.49.2020.08.05.18.15.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Aug 2020 18:15:18 -0700 (PDT) Date: Thu, 6 Aug 2020 09:15:13 +0800 From: Kent Gibson To: Bartosz Golaszewski Cc: LKML , linux-gpio , Linus Walleij Subject: Re: [PATCH v2 02/18] gpio: uapi: define uAPI v2 Message-ID: <20200806011513.GC11890@sol> References: <20200725041955.9985-1-warthog618@gmail.com> <20200725041955.9985-3-warthog618@gmail.com> <20200805051853.GA122005@sol> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200805051853.GA122005@sol> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 05, 2020 at 01:18:53PM +0800, Kent Gibson wrote: > On Tue, Aug 04, 2020 at 07:42:34PM +0200, Bartosz Golaszewski wrote: > > On Sat, Jul 25, 2020 at 6:20 AM Kent Gibson wrote: [snip] > > > config, info, info_changed and event structs receive updated versions, > > > and the first three new ioctls. > > > > > > Signed-off-by: Kent Gibson > > > --- > > > > Hi Kent, > > > > Thanks a lot for your work on this. Please see comments below. > > > > One thing I'd change globally for better readability is to have all > > new symbols marked as v2 - even if they have no counterparts in v1. I > > know libgpiod will wrap it all anyway but I think it's still a good > > way to make our work in user-space easier. > > > > Fair enough. Oh joy. > Given that the intent is to highlight that the symbols are related to the v2 of the GPIO uAPI, and not the second version of a particular type, it makes more sense to me that the v2 is placed adjacent to the GPIO in the name. e.g. gpioline_flag_v2 would become gpiov2line_flag. Does that work for you? Cheers, Kent.