Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp327121rbe; Thu, 29 Feb 2024 00:08:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWEuMhiST6FoL88A/9CDGPvvLEu4Vb278i65iE80RSRO6v7yltqQse2Mnirj5E/uk3Cpa7qSl0LGOmkFsD7WMhTXsxLElUAyUEyyhOtZg== X-Google-Smtp-Source: AGHT+IGi6D41g7cFixPxECQpH6DUgitugKogty5sK6VCVJScdRfHObG3eFVNwi6XBAMUja3l6Vuh X-Received: by 2002:a17:906:48ca:b0:a3e:d210:1e87 with SMTP id d10-20020a17090648ca00b00a3ed2101e87mr793976ejt.77.1709194115400; Thu, 29 Feb 2024 00:08:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709194115; cv=pass; d=google.com; s=arc-20160816; b=uu/pYAZZj7s1mXDfwFxS9ekppJ+dWF9mGIFrA0j70HyxKFbSSUDJs78f2yxkHJrw4b PW67LtCD3COt12sgem5G9GatLbBdTx1vFoCWi8jxBtvDmF4CEhXlbeKCJYlLKnu+Yynf KD7ewQ8GIpmPUGaiiNumKwFjitH0TURTdqpp+muEOPbo+fSzsPA6N8Qr1hGD2gTXGZNo xV4QO22NmjBq4oEcrhLmRcRbUT0bCWC/1vyVpKiYK8PLaPCCFicRgYrqClnQMywrseRP +OBBlBPm4H9F2FtO71/p+a2q5QIbXXzldRrLXqQEv4nJaMK3prXgRkNwnXTsCt3G78Kb qvug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=SDKVcO24ixC52OdYj53cLomruIu6bYJXxyVqTeBwZpY=; fh=qs63HafnIn5Xxp6jxhplsymJfUfygEqzmh2gjl26uCc=; b=YnXj3kQ6fTV1WY8vJ1ljh3wiNZLzuJMi1qYs2ud7jounu8Y6D7CD+HBJa39RZBhj/0 gZz4zwXO5FeQrVJ3ipDDeiowKqXl/WinR47MXMnxyw71aTEj9V4z1kMQUqLSH6SfKEk4 fJZzVtft1di0QfoXD9Bu1dcmuuWyg1ZL3DXRy4PpaxrV6p6SbHi8YMPurpnGjBgFRotW XQg5JBQS1NUqQH/v+DNjKA69k/xmHib9IUXRpmiMYMHYV/vpVt5VbidK7ObRtu9/pdY5 WBnPQrUJ0B5c1nxQyj/j6Zd/PZpieawZwzrR8Ix5ydZckPnJ1gF37muCjIjHBoSvkNb3 C0ow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u0m3krLQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-86268-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86268-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id o6-20020a1709061b0600b00a4417026726si339597ejg.781.2024.02.29.00.08.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 00:08:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86268-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u0m3krLQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-86268-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86268-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 238E31F2127F for ; Thu, 29 Feb 2024 08:08:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 596644D9E3; Thu, 29 Feb 2024 08:08:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="u0m3krLQ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 768C0481DF; Thu, 29 Feb 2024 08:08:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709194093; cv=none; b=BOkIFZWivb+qUpPKOuq0Hr3JqRhBuuKPiDSr1ozTC2Uj+F+rwM22L5TxHNXcqLzQJF7zlQ6P0E7EFqq74hxkiC7WFI0/T7gSEzn+UzHujpLltk7JwuNEaOLXAhgYBn8/pLbBvjlns5xm8/A8pRn0d0fOIJlxBMv+7m4dkHUMDHc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709194093; c=relaxed/simple; bh=/UXXFqYle1FvcWueLqKYM/ySMplJRb44Qq0V1oGp/jw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LTZ92hvfdgVYrajGSGNAo1ybB2d0432ZrXuFTFEl2NazFFiGw2UyPtwJpAjx/3tVUE+DRrsXfq3h1JmXUU2tlvPtfogJsr7mlcga4tawsvSmeBiqlWqNSmgOE90RsspBbM36Uxu0Ak0PT4Qys3Ds4koSVac9QeMSzZycsFsjX54= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=u0m3krLQ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 006CBC433C7; Thu, 29 Feb 2024 08:08:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709194093; bh=/UXXFqYle1FvcWueLqKYM/ySMplJRb44Qq0V1oGp/jw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=u0m3krLQ2X0tassVGfTrEkYEbwrz+UXrcWqWYd8mf+75aMEucMwh1ETfzp5RLTXMs bJMUu7/8zPg6rbEiZFU9XNc/ijUSVd09z2aq3MfKZGUhZO3IUmC+gTXOv9EXfl3CdQ 1nHHG2Q9a0u9UZlJJJMKFToCb4qMDN6SptoBTXAUE6PUBaGIP1FnEJKnrjEnn9AgVe ZQzqhlJZYLrzZcr6pOf6AaDOuc6HhmKKE8wkMeZB518VPa0GBis5vB3IaWFhQczyaX go4mHJniPv5vsGWo+IJLi2iCP4f0XWIbE/o7VhH+SjEfXQ8Ri08UZ8Xt9nrGZAfHb2 4WR4gMP51VBow== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rfbSn-000000000OV-1qEx; Thu, 29 Feb 2024 09:08:21 +0100 Date: Thu, 29 Feb 2024 09:08:21 +0100 From: Johan Hovold To: Vamshi Gajjela Cc: Mauro Carvalho Chehab , Stephen Boyd , Johan Hovold , Caleb Connolly , linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] spmi: hisi-spmi-controller: Do not override device identifier Message-ID: References: <20240228185116.1269-1-vamshigajjela@google.com> 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: <20240228185116.1269-1-vamshigajjela@google.com> On Thu, Feb 29, 2024 at 12:21:16AM +0530, Vamshi Gajjela wrote: > 'nr' member of struct spmi_controller, which serves as an identifier > for the controller/bus. This value is a dynamic ID assigned in > spmi_controller_alloc, and overriding it from the driver results in an > ida_free error "ida_free called for id=xx which is not allocated". > > Signed-off-by: Vamshi Gajjela > Fixes: 70f59c90c819 ("staging: spmi: add Hikey 970 SPMI controller driver") > Cc: stable@vger.kernel.org > --- This is v2, which should be indicated in the patch subject and with a short changelog here (e.g. mentioning the split and rebase on 6.8-rc). Johan