Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1610915pxb; Wed, 20 Oct 2021 08:26:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVyu5dq3P31cSSXv0/vGl0SFfdSnSGSQUYfYQ3TygTpNJkyrs6sBXi6Yxs7zTF1iHplpuw X-Received: by 2002:a05:6a00:214f:b0:44c:6c77:aab6 with SMTP id o15-20020a056a00214f00b0044c6c77aab6mr447990pfk.44.1634743573109; Wed, 20 Oct 2021 08:26:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634743573; cv=none; d=google.com; s=arc-20160816; b=odv7QhyJhqmekxNiWJyjTkChYI+zVFVZkSTfew/EE4gO5Qh6gbbYVhs+R3/UxF9kFf KX9SREScTuHuxAcYvjHJ8B3iU0KOK3M0DtmdrpBFJ4Eu5LLc8DCR9XJy2SHnHML/4Prm bLAWHZHP4DgUdb/BKMTr0t4/R8dgqYZ9sIxgma66Y3XQURlv4m7SBAh93L2DBqJv+lFK vkrvjA/Eeud83wWa9u5O/+HHI3iJBYl3an5IuyHBbLl7RQd8oE/s9Ougg8y5X3JnnyGc ieTIV0jtW8tnkUtIZE3Ioxpl+W/YjJHcKj9HxSSt1s6lFpDNbbBAIZfgDBLZFLcT6Lj/ Cu4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YwWTW75YgYFNgklyQEIMSogjJtwzsc+2SWs5wqVgZDU=; b=S5d+y80r58XYGAtkDF/+T7RX6gnkqWc0CAsk0LKp5MWn0drzxypEjM3Z6JjkSKi1Uz 3wIOOUPIL5ETicEu6s/0rDJkITH3h081eSwazeicLHoDGFIK/XkTiWhaFPCLyxaS74bC aWxstfkwxnNp9UiPsc4zVQap8oPrKw5WOt4Iz9fp3WlxY5XpWUKkYN9Z2vm2VoZUcxFE oGUzSc99sRd17P1nJMQQD/TGq3mtI76yPJNB4Jqo986IGf6LeO8vxCS2peTofWJAzJZO 1fJDfNoEmtVVvBLMaRX/KgHEeGhRvB9WokGOFQxfkTNj+eNDuu2mNSqbwQqa+nI+dmsC 8cwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jL2FLach; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v12si3954336pfu.224.2021.10.20.08.25.58; Wed, 20 Oct 2021 08:26:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jL2FLach; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230345AbhJTP0e (ORCPT + 99 others); Wed, 20 Oct 2021 11:26:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:50702 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229570AbhJTP0d (ORCPT ); Wed, 20 Oct 2021 11:26:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5D6C561359; Wed, 20 Oct 2021 15:24:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634743459; bh=AOrEQwh34odxrVdGxLcZw5Q/dM4ELKaoGa+EpDOkYOE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jL2FLachzm67lr6dxj9OWerbp5bmJW7FMsLMsn7pXERMPhOVjqkuzcQjKxcESGGVH LVRf5YlF7F2M5gYXGVYqWZnli9Bf3XI0snkhWDwKN6Mbuui2g4tG6Q9Df6ZDyKZhTf o2iISKn4ziIe5MT/I9JjUcUFRjQJxyWI4coVzoTM4gqHKgNamzSoI5ulqmFrb8TIH7 qmm0jRbEDLi/LQr5IydPIvaZhFg4ohSiWvnpvvUZYRu3SiqPBBuJ3WVyNOYE2eBLHV QXXI+p+Gg44PtCIoS8k3YZY65kRNTucmakRtjCK9/MkDHTwXpv7RZXUyYu1EabFw5b GXuZlfEHCvMFw== Date: Wed, 20 Oct 2021 20:54:15 +0530 From: Vinod Koul To: Srinivas Kandagatla Cc: yung-chuan.liao@linux.intel.com, pierre-louis.bossart@linux.intel.com, sanyog.r.kale@intel.com, guennadi.liakhovetski@linux.intel.com, rander.wang@intel.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] soundwire: bus: stop dereferencing invalid slave pointer Message-ID: References: <20211012101521.32087-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211012101521.32087-1-srinivas.kandagatla@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12-10-21, 11:15, Srinivas Kandagatla wrote: > Slave pointer is invalid after end of list iteration, using this > would result in below Memory abort. Applied, thanks -- ~Vinod