Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp4418064pxb; Tue, 31 Aug 2021 04:52:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwujpPrmeKddx1noFsFbQPAndIfwDDJTngEaoVxdZZurNJFBoHsc1FHntHKfOKQRvsMrwRI X-Received: by 2002:a02:6a55:: with SMTP id m21mr2525828jaf.74.1630410733212; Tue, 31 Aug 2021 04:52:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630410733; cv=none; d=google.com; s=arc-20160816; b=M5AXo0lW2nZL0xxRio5yOWHVs8CflCVDygcqN4p561G3FAGt0AsjLGj/ppa6JlFea/ siU3k3o67DrU4HsRPAxPcEFmqySE67Z4/2nMUQvlN9DmXX1MyQprv7qMBgTu7t4WbAAR 1zk+DRi+8hQIfmYmUZHDXTqukDO1wJql61Vfh/o92Ph82aYzB7CGfMawrlCKP8qwyPGV aiVmq5whN6dAL3USlQRwhChSy4KE6nmqUsszpCbbE1TvErsaSp9ZNEevXL3bVEsOZvvk AIhOpC1Fmt9BY+O0XNQafNHWNKjzLyi84FZAKncRRGxkfUpXsRV8Ib5j3VritqeY1XoB QH+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2Rh1KlMymrQrZtvePEtoWjp0MdQx/n9PKzLIFQPUkbw=; b=0W6skASqJRAne6xfYzxcpAjQ0thVAbMjvpJecEY/Bla4ZwC7nH27slDYBl2Bc01Zax ckhKrlY73CNxfMKjUMuyFNBiehCWi+o+4dEYa4qYsBa9RzAIGJe7iR3WQziuCwZ+LnQi u7Y5d0n+SKR4qTJpG6KNqEiWmQNnFSG/lX97r+C354dorDkSPpKV4t4nB112+pHAgMsx OtUHF6rw9PLD0OGw1GJYMX7B0pi89Rb/S14qhGPDm7LyTPnE7/t0zaYIar1BpjmTfNFv 3CI8bFeKa8y40Zdi773H67ekiIuG2TyTqA3FqQM2OSNs68WRN7Vv85pIoRNzgxQa65ju GPhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mByPGkjp; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w67si1958112jaa.124.2021.08.31.04.52.02; Tue, 31 Aug 2021 04:52:13 -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=@kernel.org header.s=k20201202 header.b=mByPGkjp; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241589AbhHaLwR (ORCPT + 99 others); Tue, 31 Aug 2021 07:52:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:42768 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231710AbhHaLwR (ORCPT ); Tue, 31 Aug 2021 07:52:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 36A8660FF2; Tue, 31 Aug 2021 11:51:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1630410682; bh=C0oeB3ryMBhpXrSLry7MvD8AXh7RJTn6E+8tv5L4s/E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mByPGkjpZM6rTAMxnxI3z2gL3oSKjUexZWHE2Nwiui3XwKrbl9PDdMQXnq9eGEpNs IduX07AG537gLUgzzLcUGsOqtWJEPfz7QdJU2/6xXGP4AOOceHPJQAtVAWwLERR6e5 c7/aQbObf/nEqI7EpzFUFAWjtg93DjrkFi/TH35v1lQOoKQ/mzIqkqG8JXze5xK0Dh Qtk2X8bjbwj3FL9M8z/4cp82LGoa3jaVqUmEmSZxtFvGlBpp1oFNU2QwNW8tti5Lpo 9KlVot+XpXGIdolX5qnQQhfIP4dFeKRtu04wClb3ojZlvkEmVdXIFX6Kp//UrVXCbc kryUX7KiG/0Iw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1mL2IM-0001HL-AX; Tue, 31 Aug 2021 13:51:15 +0200 Date: Tue, 31 Aug 2021 13:51:14 +0200 From: Johan Hovold To: Alex Elder Cc: Matthew Wilcox , Alex Elder , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, greybus-dev@lists.linaro.org, "Fabio M. De Francesco" Subject: Re: [greybus-dev] [PATCH v4] staging: greybus: Convert uart.c from IDR to XArray Message-ID: References: <20210829092250.25379-1-fmdefrancesco@gmail.com> <2879439.WEJLM9RBEh@localhost.localdomain> <51c57831-71bf-92f8-2b20-3e542160a8bf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51c57831-71bf-92f8-2b20-3e542160a8bf@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 31, 2021 at 05:42:20AM -0500, Alex Elder wrote: > On 8/31/21 3:07 AM, Johan Hovold wrote: > > On Mon, Aug 30, 2021 at 08:20:25AM -0500, Alex Elder wrote: > > > >> I have been offering review feedback on this patch for three reasons: > >> > >> - First, because I think the intended change does no real harm to the > >> Greybus code, and in a small way actually simplifies it. > > > > You leave out that we've already seen three versions of the patch that > > broke things in various ways and that there was still work to be done > > with respect to the commit message and verifying the locking. That's all > > real costs that someone needs to bear. > > This is true. But it's separate from my reason for doing it, > and unrelated to the suggested change. I was perhaps reading the "no harm" bit too literally, but I'd say it very much applies to the suggested change (which was the example I used). > >> - Because I wanted to encourage Fabio's efforts to be part of the > >> Linux contributor community. > > > > Helping new contributers that for example have run into a bug or need > > some assistance adding a new feature that they themselves have use for > > is one thing. > > > > I'm not so sure we're helping either newcomers or Linux long term by > > inventing work for an already strained community however. > > > > [ This is more of a general comment and of course in no way a critique > > against Fabio or a claim that the XArray conversions are pointless. ] > > Yes, yours is a general comment. But I would characterize > this as Fabio "scratching an itch" rather than "inventing > new work." Just to clarify again, my comment was in no way directed at Fabio or not necessarily even at the XArray conversions if it indeed means that IDR/IDA can be removed. > The strained community needs more helpers, and > they don't suddenly appear fully-formed; they need to be > cultivated. There's a balance to strike between "I see > you need a little guidance here" and "go away and come > back when you know how to do it right." And here's where I think the invented work bit really comes in. I have no problem helping someone fix a real problem or add a feature they need, but spending hours on reviewing changes that in the end no one needs I find a bit frustrating. My guess is that the former is also more likely to generate long-term contributors than teaching people C on made-up tasks or asking them to silence checkpatch.pl indentation warnings. > In any case, I don't disagree with your general point, but > we seem to view this particular instance differently. Perhaps I shouldn't have brought up the general issue in this case. If there was a general consensus that IDR was going away and some precedence outside of staging that could be used as a model, then this change would be fine. Johan