Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1938984lqb; Mon, 27 May 2024 02:32:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWElVlJXG3X5tRMzc01YEl66Owa02/wDQj+vzSIgul2ByWJhip9ZmOVkHebURG3WBdhn/awizGSs0QZ4t/4na5ROOy9Tn4DV8wZV8FxBQ== X-Google-Smtp-Source: AGHT+IEONWKbwuXEFHQ9IhUGQdE3OxFf9xFmmXqXKD30Ed60yYtnMieV5Q4PphjvFClpIKK3c7jk X-Received: by 2002:a05:6870:23a4:b0:250:129a:d0ef with SMTP id 586e51a60fabf-250129ad1b5mr46501fac.36.1716802335780; Mon, 27 May 2024 02:32:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716802335; cv=pass; d=google.com; s=arc-20160816; b=nmZaSJtQqrtamFi3a67WiNeXWHvdvw3BgEw43LBGOcbaomZnn8WKYjTIGav/8TWlSn ImkFQd7wStk2iVxRgNp9MvU5JwAXjWp7mN4a0cEn2nWxDxrQoZzFmqbUL9qniRo0H3pg ytRB+fvnMnDCiSwvP95rITGMyi5LFelPKDYy9eRlnnSu37FihD2lurMokBMLB0NZsXJS XTonn9Mrf37swOl8ErSXEJ5Ly5ugd4lb1ulIG/6SLEn/Nl82aTeIh8oV2dDouBpGQkx3 BoVyXZC/vS0yaqoExTM3wVS6EbAIlGtrPI463IKS9G3u+ozlq4vUhFH1B6LQz38vWQLg H/jg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent: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=zg/jzvmgQoPtADo1lTMA8ByShlp6aURw3wEJVEo/JCE=; fh=LbIrCrneDDTykXSDkhpw1DwJ6jbwVkn4kLC8TKylf+k=; b=kTiuRe06ue9CTA2Awolfaj0a0Dwd8L9f6YlGM7SF9/ptN3YwJCsZekYICGpdbyu4C2 ZuGIIpJer9XANRKJcJBxyeqoW3fNkn5ea/WbvHQdU/YIs+H9SvBVYmKLTE8BxMYDS4Ak 1+NdL+BFw6fuBGw5vzOJ7MTC0iu6dzk2jvnYnqbEeuEMdGIEWO8EhfAgD/kDISGVWoWu Fdjvcib/JLAK47krMPwSO4zdPuI7r931DfXDpeZiVM2mS9cIH1P4uFmpyTf6ViPqvHrH GXaoK6ynLP95F872hY5wM1RdRdQEa2qmr+AYaFvFpuWpv7/EvirahenMkqHxJIyzHL4U Be3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@richtek.com header.s=richtek header.b=lyUtwL1h; arc=pass (i=1 spf=pass spfdomain=richtek.com dkim=pass dkdomain=richtek.com dmarc=pass fromdomain=richtek.com); spf=pass (google.com: domain of linux-kernel+bounces-190328-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190328-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=richtek.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-68229935faesi5971396a12.600.2024.05.27.02.32.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 02:32:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190328-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@richtek.com header.s=richtek header.b=lyUtwL1h; arc=pass (i=1 spf=pass spfdomain=richtek.com dkim=pass dkdomain=richtek.com dmarc=pass fromdomain=richtek.com); spf=pass (google.com: domain of linux-kernel+bounces-190328-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190328-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=richtek.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 64DE3281C57 for ; Mon, 27 May 2024 09:32:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C61A313A417; Mon, 27 May 2024 09:32:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=richtek.com header.i=@richtek.com header.b="lyUtwL1h" Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 556D2433C8; Mon, 27 May 2024 09:31:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=220.130.44.152 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716802322; cv=none; b=aYImyEpBlyyroKvAafTboOPYfCuR7sOOZo4fYfghma7foOznwGPrV6ub38i6xoS1zsrBQoFdOvKJuSqne4SsaQ1e5BooGzE8mhe57EoPYNQSk6fKfYdBnNrpaWUPBqBfUuEa+FHHUTZ6xIMYErzgrLhgN+Kp4hWAIgjY6kgk8MU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716802322; c=relaxed/simple; bh=ApRD/JV5DjBsmTo/BHbms3Pr4YCRltiPLcRFnKYLCcc=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EoJbxiiCpWePOfVMfQguFDf6UFZbukdzAlzKaiEGL/CKFiEg8ReFumSlqRfGzYsDTnj7u5D3zXAtQJTxz7lCL2NitUe2tgywJLDD2f5K8cuXU31QHbfGfhaknitnXpnl7PP5VFG3nrxB3Pket8U8/134D1pzOpWb/KSrv8yDtDM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=richtek.com; spf=pass smtp.mailfrom=richtek.com; dkim=pass (2048-bit key) header.d=richtek.com header.i=@richtek.com header.b=lyUtwL1h; arc=none smtp.client-ip=220.130.44.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=richtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=richtek.com X-MailGates: (SIP:2,PASS,NONE)(compute_score:DELIVER,40,3) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=richtek.com; s=richtek; t=1716802312; bh=zg/jzvmgQoPtADo1lTMA8ByShlp6aURw3wEJVEo/JCE=; l=1034; h=Date:From:To:Subject:Message-ID:MIME-Version; b=lyUtwL1h2ETU7az/7YvnraxroBTWkvIC2EYyLyWNBEuetxARlBF/51unkrYhR8iIe D1EU7Ru5C6smRWzqzf+3M2a5II69Z0qw92MLtSLdtHOAWLBDYBJss+CDmktvCOxgxH mSTMjiB6N+nGTOHHlPmamjh3Oqqd/fxP2AihEI/PjXApRI7Xfhuv17PASM5HajcIPa LiCcUqDEDHZxjX/3Lgfo+8taKd8XDWU+tSK/jeMaDqVy8NqiXRup/bqFaXdkaiMhs4 XNoxiC+CCGgppqBdTwI9XFBSZO2X3RcSv+yT7yLRIYYefmdrEqYXxfcmNcvV4aWObs SIwPpOyUpSBOA== Received: from 192.168.10.47 by mg.richtek.com with MailGates ESMTPS Server V6.0(3213191:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Mon, 27 May 2024 17:31:36 +0800 (CST) Received: from ex3.rt.l (192.168.10.46) by ex4.rt.l (192.168.10.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 27 May 2024 17:31:36 +0800 Received: from linuxcarl2.richtek.com (192.168.10.154) by ex3.rt.l (192.168.10.45) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Mon, 27 May 2024 17:31:36 +0800 Date: Mon, 27 May 2024 17:31:36 +0800 From: Alina Yu To: Mark Brown CC: , , , , , , , Subject: Re: [PATCH v3 1/6] regulator: rtq2208: Fix invalid memory access when devm_of_regulator_put_matches is called Message-ID: <20240527093136.GA18009@linuxcarl2.richtek.com> References: <636cbe817ad61a18f291b5ec8938e79043b8a646.1715340537.git.alina_yu@richtek.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: User-Agent: Mutt/1.5.21 (2010-09-15) On Wed, May 15, 2024 at 04:47:37PM +0100, Mark Brown wrote: > On Fri, May 10, 2024 at 08:06:20PM +0800, Alina Yu wrote: > > In this patch, a software bug has been fixed. > > rtq2208_ldo_match is no longer a local variable. > > It prevents invalid memory access when devm_of_regulator_put_matches > > is called. > > This doesn't apply against current code, please check and resend (on > Linus' tree rather than mine at this point given the merge window). Hi, Mark I apologize for the interruption. I've resubmitted the new series for review at the following link: https://lore.kernel.org/all/7c28d2e61d2fc13066ba4814d1ecfab8f344aaad.1715846612.git.alina_yu@richtek.com/ This series is based on the previous submission found at: https://lore.kernel.org/all/5d56b79c94de63fc86b5a70b7e374da4240fee8b.1714467553.git.alina_yu@richtek.com/ I would greatly appreciate it if you could let me know if this will be merged in the future branch, or if there are any mistakes that I need to address. Thanks, Alina