From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ACAE4C2BA2B for ; Thu, 16 Apr 2020 07:30:07 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3083A214D8 for ; Thu, 16 Apr 2020 07:30:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="GJEnJOQx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3083A214D8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 74B171677; Thu, 16 Apr 2020 09:29:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 74B171677 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1587022205; bh=IUtumwMOkukF24bZiyyIRmFb7iLPA0Pwt93DPRyxKiw=; h=Subject:To:References:From:Date:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=GJEnJOQx4X+kQYA5g7L+R2uSAbp/X83qN+bZM6poOdCplp8Z/2u82tuEdZrIxTElQ metyFL93/FntKr/Wxd97IEjdQ4ucSdpOkAfNzg+/GEKiZLlfKJr2JaTdhpWwZ2mzR7 2oKLvN/EC1kZKE9A8FvoyS27v5MY/AehlaEmbrBw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 517EAF8028D; Thu, 16 Apr 2020 09:27:47 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E485BF8028F; Thu, 16 Apr 2020 09:27:41 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 05132F8028B for ; Thu, 16 Apr 2020 09:27:37 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 05132F8028B IronPort-SDR: iy+FoeOm5pmDLLhi6VwrS5oLk/TcxaOZpY4ulgPB2jd7LqDx0Eoow6TVmDw19/2BkYCwKoXo9V Crsk6OEgjI7Q== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2020 00:27:35 -0700 IronPort-SDR: yPp5K+i57MWmPxB8q+27JQkOxNOFA1BKDkWIVHCPZ6a7nOfEGZuxIbsaTisWlCXhA1XKOgShOZ pawJnZ2zKpJA== X-IronPort-AV: E=Sophos;i="5.72,390,1580803200"; d="scan'208";a="427732197" Received: from mantonie-mobl.ger.corp.intel.com (HELO [10.249.140.64]) ([10.249.140.64]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2020 00:27:33 -0700 Subject: Re: [PATCH 1/3] ASoC: codecs: hdac_hdmi: Fix incorrect use of list_for_each_entry To: Mark Brown References: <20200415162849.308-1-amadeuszx.slawinski@linux.intel.com> <20200415172513.GI5265@sirena.org.uk> From: =?UTF-8?Q?Amadeusz_S=c5=82awi=c5=84ski?= Message-ID: Date: Thu, 16 Apr 2020 09:27:29 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200415172513.GI5265@sirena.org.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Cc: alsa-devel@alsa-project.org, Liam Girdwood , Takashi Iwai X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On 4/15/2020 7:25 PM, Mark Brown wrote: > On Wed, Apr 15, 2020 at 12:28:49PM -0400, Amadeusz Sławiński wrote: >> If we don't find any pcm, pcm will point at address at an offset from >> the the list head and not a meaningful structure. Fix this by returning >> correct pcm if found and NULL if not. Found with coccinelle. > > I only have patch 1/3 here and no cover letter - what's going on with > dependencies? > Oops, I'm sorry about this. There is only this patch, do you want me to resend?