Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp13046298rwl; Wed, 4 Jan 2023 02:47:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXsqWeeFr59OGrxIirL4mIqAOyq8gojxovjrvn9H+qbl3w072hxme68cHwZKIX8YJVfbS0Z8 X-Received: by 2002:a17:902:7087:b0:189:aab9:cd80 with SMTP id z7-20020a170902708700b00189aab9cd80mr47771338plk.64.1672829257896; Wed, 04 Jan 2023 02:47:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672829257; cv=none; d=google.com; s=arc-20160816; b=itMKG91+hRmXWtR47wYmecmBE0QuTgj+uM1PFrBk7tX+kdmAzGr4Zf2JUf6612Fk8T 3Ryu66RixJbXM4wbNxwsmbtsxEiTa2bpdN1QiBRJOdso/6fF6NLJLGuVIzQq9g9U4VqP GNVKRCTp6nOXZYhi0JGsVP7wg7EmaQf39QR+qrQ5PFrIidQt0AwnanKPCrU6ujaLXTLv sngKBqUO/18dFsyfz/thDmlr8jpX4NHCNE46BaMydgT6BFC1XH6zXOvtQB4GCa+f7a7Y Qga/j3a6XvXMPC7bT9z/w6LeNYrL6foF10NYrWycFokmxhdw9+zgM4Awzh9YPQJAgkMq pihA== 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=qqH/Me3GhLyp/wEo5gWkk1CCi9uaf7ZM+4ekDHBfv/o=; b=uDYuyZCZp22GOj0PzDWh0vJD7b7j2i2P55OfjzkKDNV2ODRvq3YmjtYnBl+fFigMK8 rT8MLHGuY4k3tjr6nyKWNXKuFR9nMK+MRqJZ5e5h6y1ScwVXT8X1qux70BBqFJnFgirW O85+YMTb+0Jei5RcP3baWT1IVW9zsPbZTePlnbhH1hVfo8LaCL7NLMnJpvm33NemgHk9 SGsikJ5ev1O8yHkmhgU5Hy2imMnotVLjKqPTCNkXiroJs2GIITgJTbKnwg1m8BpenzEG qL4xDvpAx+1hTDKymXGZ5ZlAflCQJK3j/edINx4O784tOgwUDhJcSQhUuYeE7U1q059L mPMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=MzSwVCMy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 5-20020a170902c20500b0018cfd25a8fasi14261860pll.214.2023.01.04.02.47.30; Wed, 04 Jan 2023 02:47:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=MzSwVCMy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234334AbjADKaP (ORCPT + 57 others); Wed, 4 Jan 2023 05:30:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233383AbjADKaN (ORCPT ); Wed, 4 Jan 2023 05:30:13 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 174433894 for ; Wed, 4 Jan 2023 02:30:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=qqH/Me3GhLyp/wEo5gWkk1CCi9uaf7ZM+4ekDHBfv/o=; b=MzSwVCMy6Sq7bl8rj3fXSOX+wo CwdlM35qa0ksQvSjj6nd+QzXei7uCaw/SNr/gvTxC+3EaH0dHXoA8DqTsGNAEdPTh0r+voNedE5rt 4R16DXgUj2sLwSqPjfJef3JTByMVybwdUvViL5Ppxp0C3rUrgW9SMkoeQFxVfeYLh0b673Q+aodWe cOPhnEG7byynZn9fSJELCi1OyhB4wq8PXYxfHiQCKCOs9kv+sgFXPslo3hEM/3LtJXaDSLzf4Jtvw AFYlolxEqjqAj4KNJ3uh+RwlIKHyVnXxrIWxVileSzrmTH4mlUvhnNBaITd17Qntda6otI79i8O1z j4VPAg1g==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:35964) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pD123-0006Jo-NA; Wed, 04 Jan 2023 10:30:03 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1pD11z-0002yH-Ev; Wed, 04 Jan 2023 10:29:59 +0000 Date: Wed, 4 Jan 2023 10:29:59 +0000 From: "Russell King (Oracle)" To: Hector Martin Cc: Srinivas Kandagatla , Bartosz Golaszewski , Gaosheng Cui , Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Maxime Ripard Subject: Re: [PATCH v3 0/5] Fix a whole host of nvmem registration/cleanup issues Message-ID: References: <7f6b2a9a-1ffc-424f-2287-5934cf653bde@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 04, 2023 at 10:15:14AM +0900, Hector Martin wrote: > On 04/01/2023 06.15, Srinivas Kandagatla wrote: > > Hi Russell, > > > > > > On 03/01/2023 16:58, Russell King (Oracle) wrote: > >> Hi, > >> > >> This series fixes a whole host of nvmem registration/error cleanup > >> issues that have been identified by both Hector and myself. It is a > >> substantial rework of my original patch fixing the first problem. > >> > >> The first most obvious problem is the race between nvmem registration > >> and use, which leads to sporadic failures of drivers to probe at boot > >> time. > >> > >> While fixing this, it has been noticed that a recent fix to check the > >> return value of dev_set_name() introduced a new bug where wp_gpio was > >> not being put in that newly introduced error path. > >> > >> Then there's a fix for a previous fix which itself purports to fix > >> another bug, but results in the allocated ID being leaked. Fix for a > >> fix for a fix is not good! > >> > >> Then there's an error in the docbook documentation for wp_gpio (it's > >> listed as wp-gpio instead) but as nothing seems to set wp_gpio, we > >> might as well get rid of it - which also solves the issue that we > >> call gpiod_put() on this whether we own it or not. > >> > >> Lastly, there's a fix for yet another spurious white-space in this > >> code, one of what seems to be a long history of past white-space > >> fixes. > >> > >> These patches have been individually build-tested in the order of > >> posting, but not run-time tested except for the entire series. > > > > > > thanks for fixing these issues, I have applied these after fixing the > > subject on all the patches, as it ended up with email ids in subject. > > Right. I see none of the issues you two lectured me about actually > mattered, it was all for show, and this isn't getting backported anyway. > > Good job you two. The day I finally rage quit the kernel after enough of > this nonsense and make a big dossier of just how fucked up the kernel > maintainer community's attitude is, I will be sure to use this as an > example. > > That day is not today though. But I certainly won't be upstreaming any > more patches to nvmem. You've really little clue, have you. I really don't see that you'll *ever* get apple hardware properly functional in mainline. Good luck maintaining a fork of the kernel for ever into the future. I've had enough of you. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!