Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6896406ybc; Thu, 28 Nov 2019 07:17:48 -0800 (PST) X-Google-Smtp-Source: APXvYqxi4VqlbZ8JMqVBIy327ynFAyhbZxOgqqvE19RjTLI3iV137gCND0vc9qfLh2wPWn42oeNk X-Received: by 2002:a17:906:c41:: with SMTP id t1mr54855310ejf.282.1574954268571; Thu, 28 Nov 2019 07:17:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574954268; cv=none; d=google.com; s=arc-20160816; b=XZkq85lCRpKl+lZmYeTGOTsiE+JhE+km2m8fYs66MdWBFVgAZxlJ452ZK6hU+uAy5q Khj41V7VDC6vWiZQ2TeTNkQ4E5ORbFL3+nBiXbfT70V1/ivAQ6lLzmOrGjmYLsc+/beh sxtS/HU9TNFjEjHvwj7I1rmVwnOQOPRWCdt1191KRexV6dFIOKzTXnt6LOfILM+GdurA QgeQjQj0KW01pFG3Wqqi6lmj2j+DPWpWGDZT37mTO4YxWU1yK8dZA0Dyf1zDfSJaBBbU VhAIZzJjqW5zute51HTIg/6exxcubTjqvjqLwngH0QcBUJt4gmgYZEanRcX4rB7jhyRs HnYQ== 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=3jfgNzK/nHSkdoEhVBgT8L3QArxtUdOmVdCkrX/jAAc=; b=hS+jTazyizVFK2ztqL7EgYApXFBgUnAhMSY3dq5hXmTk2vkW05cA0xKWddnFXlrMBI AvHvS1d/AnfSLTIAEdxaNpPiydk9gMd3HGW7xqBYacNOPXzrFlDIGUk0ZiyuTNurIkVP 8AqbVacQQfSWQldRu75RH23pPUHkENp+WoR2q25EizHsugaF076ngb7MuBeUFmdHH13J ssbFx/aZpCBUvbusEfgzUsTlZlxKrwRrKok3k8I1GuTYwx/GfOubuvahO/7dMCgz1EGm AKu+/QhcmkcSjc5CMi3ZEvWxpuKBofRCqPmz6cyX0sxywr9bLyOq2p+oLVdUl6G/81Eb vZqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@onstation.org header.s=default header.b=Drs4fjWx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fi6si11879112ejb.430.2019.11.28.07.17.24; Thu, 28 Nov 2019 07:17:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@onstation.org header.s=default header.b=Drs4fjWx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726971AbfK1PPh (ORCPT + 99 others); Thu, 28 Nov 2019 10:15:37 -0500 Received: from onstation.org ([52.200.56.107]:60716 "EHLO onstation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726608AbfK1PPg (ORCPT ); Thu, 28 Nov 2019 10:15:36 -0500 Received: from localhost (c-98-239-145-235.hsd1.wv.comcast.net [98.239.145.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: masneyb) by onstation.org (Postfix) with ESMTPSA id DA3D23EE8C; Thu, 28 Nov 2019 15:15:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=onstation.org; s=default; t=1574954135; bh=CpuXn/1YuVR1thvz9vWG1G71nhfeLIpEDAFoJfvL0rY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Drs4fjWxdOVDm3ua1lPGFAi0pCzKM9XKe9royO0rhFS/hgGadjFOJftXIHIGjhQRA lsQGPPTwGOAv2tHNdwOgJoqFmzrMWD7e8o96Xh8A/BSMCpBiFwzRP7HgziKlo4SaR4 P6fY/3UrWidq+vXoy25fh7AxbBBAjSseJFp+f/ms= Date: Thu, 28 Nov 2019 10:15:35 -0500 From: Brian Masney To: Georgi Djakov Cc: linux-pm@vger.kernel.org, bjorn.andersson@linaro.org, agross@kernel.org, digetx@gmail.com, evgreen@chromium.org, daidavid1@codeaurora.org, sibis@codeaurora.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH 3/5] interconnect: qcom: msm8974: Walk the list safely on node removal Message-ID: <20191128151535.GC18117@onstation.org> References: <20191128133435.25667-1-georgi.djakov@linaro.org> <20191128133435.25667-3-georgi.djakov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191128133435.25667-3-georgi.djakov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 28, 2019 at 03:34:33PM +0200, Georgi Djakov wrote: > As we will remove items off the list using list_del(), we need to use the > safe version of list_for_each_entry(). > > Fixes: 4e60a9568dc6 ("interconnect: qcom: add msm8974 driver") > Reported-by: Dmitry Osipenko > Signed-off-by: Georgi Djakov Reviewed-by: Brian Masney