Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp271935lqs; Tue, 5 Mar 2024 01:17:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX9RHuRMVfvWdl52jeihLDZad35O3YtUJ56sYMMFelL+/1ziC8w5Tjq/+0rELvZwbfspYKS7qWjifgWIHQDIUDOXuKBpuUPLYioYzOqWA== X-Google-Smtp-Source: AGHT+IGKufotcNLxY3Fd4mT1Zs7KUv9NAp2XPkTwxRsVT6fIwh57GzAEBIEZ5q6dHySeVWmA6SxH X-Received: by 2002:a17:90b:3a81:b0:299:58af:c873 with SMTP id om1-20020a17090b3a8100b0029958afc873mr8518202pjb.10.1709630228078; Tue, 05 Mar 2024 01:17:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709630228; cv=pass; d=google.com; s=arc-20160816; b=0nJxjt2MoljZOnC8NoMu4cjhMecOOjQUmXjlFoRBbYzapMU4SdoFuW0sULcx5YEd5D IdPtNUdkHQGo+eWVtRu4bENWENIA0k8NiQzz7m/UjkCN0EojRMv8OXju/AubRpjSN3P8 Q+TboywQFsMLLJciRHltpt9vlkqtdrQ8jPCo8itUqkrE5NWOkDtQqyagKW+YGfjKqzZs ixqcaP/WhiA/7CT4ENAn/jmd1MSpRMv96FuPRZ3vO667xU7soWOP2Kl9rrrwnopsvfVi DPtff2cKMIYqBqG2miiTGhGhnuxQzAC9OHdWYUhb4NAMixHz5Vk5EZpdww9O7wHWt0FS gh1A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=pUEkTUaEinq7lTGTudWbBzE6b8iQHi6XhoJnUFsMyNY=; fh=rmkHjiIzOMeCtvEblRbvaH2b991Cl1NO8Np1E772euY=; b=zF01mu1tPtxsbdLCI9R/kTY1sKq4Zw89I7el+gV/M70Sp+Xv/KMhwOrXhMEP1ltwqu SfkWzsyKjjPH6Iyed3Ay4sE5nZz3tTGOrwKKZOPIejRCo8nj44jZoWb12bzDjvzbzen/ 7dzrM/0vLD/mOb/tpKq0jEGAVTZYO7Bts1/fgiJYMuaOBsZjJl2ZokcwnLHNDkpNk2Sg NfRKLeshUrcfSqgn606z/mIf7oIniwoUbo03/80E4ZBba9of0cl1bYWb1/deM3VXbwT0 KkS3hWnlmGa14Pujg04YTGg+1avwK8JZpOfGV4ksBl2M6CF0CdzwJxIGphPhQbENFjWc +erg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=skilj3ol; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-91983-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91983-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id v6-20020a17090a898600b0029b24831646si7408628pjn.128.2024.03.05.01.17.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 01:17:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-91983-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=skilj3ol; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-91983-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91983-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BD9C7281797 for ; Tue, 5 Mar 2024 09:17:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1CF554799; Tue, 5 Mar 2024 09:16:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="skilj3ol" Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D2A750276 for ; Tue, 5 Mar 2024 09:16:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709630177; cv=none; b=jQCJRtYPIItnH4lC3SYxCdvz9fW4ze/tnNjxkWSxwecEecOvw0X1NjgXSiZxJaZzKQsOYatmAg4KdRE7IddtoUtF3f/iSQV24wcDdXfM30tdO+6xrzybmZEg0b47ECGJ5etUnYMFI3LbhFjrOpUMHwknhpsj41aqmVlG7RCqUKI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709630177; c=relaxed/simple; bh=pUEkTUaEinq7lTGTudWbBzE6b8iQHi6XhoJnUFsMyNY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=YyL5hx2uVkWkoPlDxh7bihiGcQgiq6DT9uOWmTOI27DBXZjczXtKKzn1akfkkdlqfQ8DUaCNaeGGhwrbYvijwVP44rHwY4h4F/qLFgisLGyrsHHq29ex8hYkHW0YLeGg+h5AsP4Zk2Jhg9EJENln6DVo4gYLXElQc2IJ/HWp6wI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=skilj3ol; arc=none smtp.client-ip=209.85.167.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-513160a49c1so2840e87.0 for ; Tue, 05 Mar 2024 01:16:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1709630174; x=1710234974; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=pUEkTUaEinq7lTGTudWbBzE6b8iQHi6XhoJnUFsMyNY=; b=skilj3olUBDEob/9lHWfOaAN7YyHitXQ42f0owOVhH+sA3a1ZroLBId0aph8tfI+Ek hgwrg0PBLfwYr4KO1G6ZDhrp2ojmSos1/jSqX5Ruebbk+DId7U9my4aWHYrEWsSduhxg Zf4b4U38jA94GHjvgzZyQIrTFr96fXIM2Mg+8J0FZ2aoueF+OAopfrfwPRnD5iL29YWz KhPY4bscBJ+Thj/0zISFZxL53KCbSWe9mcdnJZDWBw75btJk3wvliA7IkwrlBDN3qwdG F1/6OL6hojpGwg3VNZ0GYUEWq1gfSsLDYJZnwE9OoSlos2oq4ceg1KdMAIy2OdVmcz5y 8PWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709630174; x=1710234974; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pUEkTUaEinq7lTGTudWbBzE6b8iQHi6XhoJnUFsMyNY=; b=FvnUxo7EMgAzRJU78JHmbKSHbXVfTsPK0V/pudIT8wzzG4LHn9V7izxTOA3kVZvDjP ahrHUvVpEziaSlJcIWf8T7CSuiw26t+y03hkizR+PF+bZioxImS4XhCb7Bp/jilFQzaF ZfmOBTp7HCJrZy8iSdjG/j8gWxM6rSAfWUd3X9AHBAsyuSHk8Ok23bXJ7TFyIA8944lo VsXJv81BU72uAKuzTOM5iH4lUmaNH68l4oWlK1LyMrrj7RpwLU2/okUkAJbht3WeGBwK tBSGT0q3Qs4nfVI8kypI8heMZWydoakAefQU1L6VYKdPKDKzcfgfbvDZ9TVabgY9+t9K XYkw== X-Forwarded-Encrypted: i=1; AJvYcCW3U4v+RKZb3//difaHnP+9lNn32dwwEJJVvmMGxGauzAZSNA2LyPknRJTAieDlpy6g8pmsLA/iHJGhOj3zuKqHm05c6YWni6i4UfxL X-Gm-Message-State: AOJu0YwMvK1ovPYNZXTqWlAuKdy1jZcVuex++IHSIOjR3BDXP67f21QY nbJ8tXlf52HIQJ9T1ndfFE4cuG6XOjOJze2tXFWaSFAOJiug4XC3LKwtzV/dW09UvGLNHokbjwu xsIbtOkgSoS9gYV2seFO9nJzdR4BgDZ4JbdAZ X-Received: by 2002:a19:385c:0:b0:513:1cf2:e14f with SMTP id d28-20020a19385c000000b005131cf2e14fmr59092lfj.4.1709630173911; Tue, 05 Mar 2024 01:16:13 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240228185116.1269-1-vamshigajjela@google.com> In-Reply-To: From: VAMSHI GAJJELA Date: Tue, 5 Mar 2024 14:46:01 +0530 Message-ID: Subject: Re: [PATCH] spmi: hisi-spmi-controller: Do not override device identifier To: Johan Hovold Cc: Mauro Carvalho Chehab , Stephen Boyd , Johan Hovold , Caleb Connolly , linux-kernel@vger.kernel.org, stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Feb 29, 2024 at 1:38=E2=80=AFPM Johan Hovold wro= te: > > 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=3Dxx which is not allocated". > > > > Signed-off-by: Vamshi Gajjela > > Fixes: 70f59c90c819 ("staging: spmi: add Hikey 970 SPMI controller driv= er") > > 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). ack, Thanks > > Johan