From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F337A3CB2FA for ; Fri, 31 Jul 2026 08:56:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785488203; cv=none; b=He/C+zpFG1JEv3aCRgfqu4x3cLYaG2kW3PVY9Rclb+BS1wuSV5ZJdTPLqg/4yI+t1iq3pQlxdLPidNrLBPWwoRdRq8tgWXU4N5iXZZCxcX3nCJ0j7A4zHVcWwcLdd3wmQwnoyRHrANC03XVJfBRGRFPy9i5yD4F8h5ABgCdOhBo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785488203; c=relaxed/simple; bh=UoxRvF/8xmxltpjYAVjp8lBErPL5bf+Hy326KDmbYQM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jPl+qXB7PxF7ZGfdbNmIW9oy7jXBi15as2qrMsJDq2HomZpF4DKsoZ+20AiRKFPFd/69oTn1g8u/Y5lodFyvrJ7Xe84XGRhM1rwnXuASZrfqmI3Z9cTiMh0x0KDANnm9ffJ7zTfifdWgwqSGOjDWWYKNOqNapNP/fqboFufdD0w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kDrDwwOM; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="kDrDwwOM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E75A01F000E9; Fri, 31 Jul 2026 08:56:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1785488201; bh=VEA9AxmuMZ0OzCeLZDVWvAXOnitcDuqFSo3xGccVRv8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=kDrDwwOMqR/cpVfSqL9d6jqVPYXtwdsi4yOP8M0bzAzpmzqUgJ1UIKf0KPH6ref3R jw96Qs7cUsotsqzktnwLbd8TmMs+s0mOFa429etHVaJ/DFbzEKbiHs/BMqzp4FoCKz 7k5HeV9Jsu6pCC+dOaWhLdYD4VSqt47fpaBA2hoI= Date: Fri, 31 Jul 2026 10:56:27 +0200 From: Greg KH To: srini@kernel.org Cc: linux-kernel@vger.kernel.org, Bartosz Golaszewski , Loic Poulain Subject: Re: [PATCH 08/14] nvmem: remove duplicated reference counting Message-ID: <2026073105-replace-depose-42d3@gregkh> References: <20260729094647.111468-1-srini@kernel.org> <20260729094647.111468-9-srini@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260729094647.111468-9-srini@kernel.org> On Wed, Jul 29, 2026 at 10:46:41AM +0100, srini@kernel.org wrote: > From: Bartosz Golaszewski > > Commit c1de7f43bd84 ("nvmem: use kref") introduced reference counting > with kref to an already reference counted nvmem_device structure. We > only need one refcount so use the one provded by device's kobject and > drop the kref field from struct nvmem_device. > > Signed-off-by: Bartosz Golaszewski > Tested-by: Loic Poulain > Signed-off-by: Srinivas Kandagatla > --- > drivers/nvmem/core.c | 80 +++++++++++++++++---------------------- > drivers/nvmem/internals.h | 1 - > 2 files changed, 34 insertions(+), 47 deletions(-) This, and patch 9/14, did not apply against my tree. Can you rebase and resend just those two? thanks, greg k-h