Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp676311pxu; Wed, 14 Oct 2020 10:46:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDu1Z7KLPvmbh/+0Zf4n2Bjl+nZFe8aKBC7u46ZgVtvF49KttUVRB5D+AfeWry1/tf6iSe X-Received: by 2002:a50:fb0d:: with SMTP id d13mr25916edq.85.1602697567138; Wed, 14 Oct 2020 10:46:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602697567; cv=none; d=google.com; s=arc-20160816; b=pDFSMNmuM02odEqMFH4gNm6ThJyijKGhy7vWm5oyKW/fV/4ZQt+ZeB1TMKPxCtit37 EgADs7Xq2L70rPiWhXB+2ZMHgW1rmQrFgbtmQd5N7uFMUbBw+m80+YbaqpWhUbWHjDi7 DppcwYqzc6OejnNn0I4hXmfb6oTOwKktQclV+y018WePXx1Epl+eyijJbTn2vMLrru1r SQQZ3QGudIJWsr+ZmMBOyoFFFpJSnS2pFvXm3RbtKLqAraxWp7KosIgkX+BjjstkU2oW an9nEeGF/5O0oWc0nCKUZASBneneSp09fV9crPPHbWvDTOVuXuGjAsPNrryKU2RPyfQj U/fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=6uo0zZpvzDaSDdtJhTUWqOqljbE66RmGZ5TF4JiXQbs=; b=0CISGZrsJxid1uqGecJZ2v0obm4Sgpto3ixFjdnx7GXwpehpldiZ3iPKetxaM2VKrp Q5ylO11uRE+Hix8EoEyctZKlAedoUcfjLIz6cePzrIxewr1CBGhE9onBwDtK5mGeOGeL MqM+oPzNqp/NZNeG/NE7fplWAKmVEW83/IF0XJ8wpNQFuF4IWMA4m7XFU1/h+aDy6KNG r0k+c5QyIGdJh7AuPasc3QHiyyvvpjVw4iK7EfAaJmeLFCHWLlReXPnIPbRG+mp5P2Hm SOFM2TWJPok0/Q569djKCgvLDVapDiWkNH7l4pvhwbShk1lVzd6mvecXsTIYVSFuOf5+ 9ALA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NgMprzvA; 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 g1si257330ejf.525.2020.10.14.10.45.45; Wed, 14 Oct 2020 10:46:07 -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=NgMprzvA; 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 S1732022AbgJNRNc (ORCPT + 99 others); Wed, 14 Oct 2020 13:13:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727162AbgJNRNc (ORCPT ); Wed, 14 Oct 2020 13:13:32 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 455D5C061755; Wed, 14 Oct 2020 10:13:32 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id r10so19726pgb.10; Wed, 14 Oct 2020 10:13:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6uo0zZpvzDaSDdtJhTUWqOqljbE66RmGZ5TF4JiXQbs=; b=NgMprzvA3pyrmzjyu6aqJz6i63CdTgW4HgryJA4IoO6JaMJAvfohuBk9B5gzIwZuKF WKVtfAUZ2J3KMq8u8QS1rPERmLAV1whI8XZnO7PmvHFxvc9HBIA3tk5GypHif5aFN9pj ma3p04RPnlBerUQl0NZYSql+u0vZienklGMcMV+1YTyS0PnB2rhKWCixwl/oI447/0az pYHTQ/7A1JWsQdy+HaeDlkCHa0e4YYf9+iIksWlUA3AHsjsYtw8IFuHt/41o4NHuVx+4 6BUVuhqP8CPKbqAiJYcPPsXLcRPyHaaQRsRjeBVdhS5gBCAsybCxaHxZVG7xKveCgTdE yrUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6uo0zZpvzDaSDdtJhTUWqOqljbE66RmGZ5TF4JiXQbs=; b=eq2CVz42rPfYOtSNvEt/hEzgaKFkGqNbcct3wnOX4pxIXf60eFpnjxBnkxdGTJvoPj BwvIBMMSY1ywO5v0tiusLuoOSD8C9vUFGU7Wsk4GDJLlYP4KsEOrbbTi1Ybs6yRHCAl4 8nQ0veOCsn2l+gFT/SIS83PkQsjhaKap8j3iBgzgDeD1Z827+qYVjNPpsX8N8YKrGihC 9S4VZ9nXs/NSo2X1lY7emEH9pw7CkA/eMHxn3szqmincGxw/tks6dSUmSaDepWcUIdop PIPZ9HI/xrkQRUK03l1BK424HwPDTBzKfRxHLQn1aZNuzsEpYgWEng034WzzWjnOhe/Y RtfQ== X-Gm-Message-State: AOAM533QgugEc50Tu/niSlxIH3kZkppYemifQcP15qg0VwuPF0KqMMRS Mi9T8qkcEEE0YhkfO+eft+FVIDLqBbYOgPLhitE= X-Received: by 2002:a65:47c2:: with SMTP id f2mr43510pgs.4.1602695611776; Wed, 14 Oct 2020 10:13:31 -0700 (PDT) MIME-Version: 1.0 References: <20201005070329.21055-1-warthog618@gmail.com> <20201013132952.GA219958@sol> In-Reply-To: <20201013132952.GA219958@sol> From: Andy Shevchenko Date: Wed, 14 Oct 2020 20:14:20 +0300 Message-ID: Subject: Re: [PATCH 0/5] gpio: uapi: documentation improvements To: Kent Gibson Cc: Linus Walleij , Bartosz Golaszewski , LKML , linux-gpio Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 13, 2020 at 7:34 PM Kent Gibson wrote: > On Tue, Oct 13, 2020 at 03:21:47PM +0200, Linus Walleij wrote: > > On Thu, Oct 8, 2020 at 5:46 PM Bartosz Golaszewski > > wrote: ... > > I am waiting for Kent to respin them addressing Andy's comments > > on patch 5/5 then they can go in as fixes I think. > > > > I had replied to Andy's comments - I'm prefer with my version than his > suggestion: > > "I'm not keen on that alternative as what it suggests is actually a > pointer comparison, and even if the user realizes that they may instead > use "strlen(label) == 0", when they shouldn't be assuming that a null > terminator is present in the array. I avoided mentioning "string" and > kept it in terms of the char array for the same reason." My point is to make documentation less cryptic (= less programming language stylish). If you can rephrase it that way - nice! Otherwise, I leave this to Linus. -- With Best Regards, Andy Shevchenko