Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp504453ybb; Wed, 25 Mar 2020 04:17:18 -0700 (PDT) X-Google-Smtp-Source: ADFU+vueEZnevdT8/jDBXt93/3YwnE/t+Tve98Kqh7Gg+QFffefEfcV0IYmhSmUwMQf1h30Fjnih X-Received: by 2002:aca:d645:: with SMTP id n66mr2013424oig.66.1585135038430; Wed, 25 Mar 2020 04:17:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585135038; cv=none; d=google.com; s=arc-20160816; b=JFQP6/QHotUaxC3s+L/wvh9CgK251gt+zKSN3h80dny5VLodlPrK1e1dwwP9OR+eKq lLXBQDAta66ZUX/NQ2RGEqN7tQAswEiDFj5XJhrjnBYRzT45uk3g2z7vRyRQxL2TbJI3 sy3u+MIQsiWEXbsEn7ZYvYtb7dqZgPps58949bbvnDaq4W4RRVYRvAFyWowuNUX56JZ0 Br0e9pWi0kVfHf5z44CuJON7yUrAAhNW22M5q1UQxK6UTO2Aanf6MPj/Lj5NGibU70SB feExQe8Mk3HJtHwmf7rzYZuH6ARParjlziOmhj14YbRykeTNOOeDDONtv7sPsnGCNcuY TdPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ByYYkQkX4e+La3B895nfCGfrVXv0LtwE0DAHSJeDkl4=; b=Bg3QDHsrqTAHR4M6Rzy4GmKL7rrKyoNXwE7ux+JJN8RwDOVDEhX4m/h+iho8Sd5hPz ofvJlRye5oaM3beNQEjpGf10CJrDR1bcmtomi3jj5/B4KQBw92AYbMFgH3zNuq/0HMgD RkVDlQccK6tHmwSIFFtCZWc+GPddz3eVGQiBFi+S7drVaDLQ2q1xiVN6RE/zZLUTbauS g3KDYhwzBApvkI4eMOawCjPfLd/qNYpU+OR0gdU8Irf1FNXdjjGoQnCrbHAtvc93R53W gIGmBoZ2DGJAILp6HizSjo8wPn91DFpED+yhN4eH+iuI91z/wleF0U3zIC6LYA/9LE93 3/8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mAlKDkJW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w203si9920831oie.193.2020.03.25.04.17.03; Wed, 25 Mar 2020 04:17:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mAlKDkJW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727158AbgCYLQg (ORCPT + 99 others); Wed, 25 Mar 2020 07:16:36 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:44811 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726658AbgCYLQf (ORCPT ); Wed, 25 Mar 2020 07:16:35 -0400 Received: by mail-lj1-f195.google.com with SMTP id p14so1949775lji.11 for ; Wed, 25 Mar 2020 04:16:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ByYYkQkX4e+La3B895nfCGfrVXv0LtwE0DAHSJeDkl4=; b=mAlKDkJWDSPYgt33/yqh4jr8oQ5FIBpIP9q6VV01ZKgGMGbc9wzj1sjvF6U6ng8FVt iVkQ9955nL0bTQtOFpfBZnu2ir9V5TiBgTOby5FPVIQv2ZVLwF1I66SKKl0c0uZNNiph 2xam+zHgSyhCzCdNMZyyJYvup7LRRV5foF7q5Ee0DR5yzA1Ww+znFTpsu9Pt45xLFfr4 0qroiqy9+sh2zb/ygsQFjQhA/1hf6wvFqo0LoYoL0OHf0NtIQAkvSz8oxvSn0mJuIUYh p/9gztExAYRiu/+l7fmoRLQ8Cb8dIfVx+a1LkTuKKoF05uStErBD6ppSEmsyap9XRUjG m2lg== 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=ByYYkQkX4e+La3B895nfCGfrVXv0LtwE0DAHSJeDkl4=; b=JCnIX7dxlC8ch16qocpgdu5FMa4JHvBZ7Fdo04jhu8iEIK3zYFaQVmPHclHFa+Cb+e naTdJb3DXXWjgcr+5svnXzgWh/Cp7JQGrxC1AKvB0hS5b/wN98YGXxzFPwDEdkYyMVUb sifg1AwDutPSj8HtsD8ugMyaGpf+GxxDb819293qEy97ffnPvqPw+Gs7r3cUTsVlC1fv PWR50IteLWS3zVlogXzwu6KLNt73iUK5K6yA0W6mNMP/JYLbdMz/ktCwu+C+7X4f2D7a TwMPxBZjTwMDTZhG/ru6+u2J8sc77ftdCEFBUW+kY8leFcjqWEqv8gYombUwAmCc8kKN +QHA== X-Gm-Message-State: AGi0Pub1+yLg1lYy9y/pScTg1C2oMC5V3VhvaRzy8hVEBNrr4PhH5JiF JqnqFkbqybBNg6imIxkz02+QuL3uL5vVXcm2FSEf8A== X-Received: by 2002:a2e:9605:: with SMTP id v5mr1610818ljh.258.1585134993207; Wed, 25 Mar 2020 04:16:33 -0700 (PDT) MIME-Version: 1.0 References: <20200224094158.28761-1-brgl@bgdev.pl> <20200224094158.28761-3-brgl@bgdev.pl> In-Reply-To: From: Linus Walleij Date: Wed, 25 Mar 2020 12:16:22 +0100 Message-ID: Subject: Re: [PATCH 2/3] gpiolib: use kref in gpio_desc To: Bartosz Golaszewski Cc: Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Srinivas Kandagatla , Geert Uytterhoeven , Khouloud Touil Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 23, 2020 at 9:44 AM Bartosz Golaszewski wrote: > Hi Linus, > > what is your decision on this? Because if we don't merge this, then we > need to make sure nvmem doesn't call gpiod_put() for descriptors it > didn't obtain itself and we should probably fix it this week. I'm simply just overloaded right now, things related to how the world looks etc. Also Torvalds writes in Documentation/process/management-style.rst that if someone ask you to make a decision, you are screwed :/ Your decision is as good as mine, I'm not smarter in any way so if it is urgent send me a pull request for the solution that seems best to you, I trust you on this. Yours, Linus Walleij