Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5592595pxb; Mon, 28 Mar 2022 14:41:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykUALYRCL+N+JW3ll5kyFgkxdXGMowTF3VfV8S+knsk/y4nsK8jwzosy4la1zBVwUJfaEX X-Received: by 2002:a05:6808:bd2:b0:2f7:59fd:2f1b with SMTP id o18-20020a0568080bd200b002f759fd2f1bmr619460oik.217.1648503668891; Mon, 28 Mar 2022 14:41:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648503668; cv=none; d=google.com; s=arc-20160816; b=wltQwC2bJByytno1mC5nqX5lAFXVokbiFX9zOYzyfhEx2uwa4SY6xt5f3feAcRi8PP Kp16nsXTHoeZAuXpbu8Qjsq5i3eP66PLNf0OyP2UB/Ux24KdOSnK287/JKkQ8vT+aVfN l/v2fFwQ3jZU/29bqj4+Uyt2diuDZRcfI1v1cXgEM+C0/J5JwpPnK9SbtR5xN74mSbmV nP8luZXgCB5Rnr8Z6QbMa8xj1n5Wec4S5/O/jNXjDFBAR65YWcmZnyxsCOrD3FTGxMEF hRfElZu01Gp05VGbSNL88nSmHmDyU/gPWJLdnUI/6upVZUZKArdt+M/8NmWOeNZJiJpw KjHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=RK/wz/U+TabQb++KAzGvfQskuMllPDdsm08D4cpJkec=; b=wdy4oC1M6firlLo+Sk1dJO80cuxwMbbYRf5omkseVE8c7Cnx2pyYwk88wFYyS/ig/c jf7/xC3BU36CIk12PokyC4oSiXOqYh2r9rBHuJkPALX6kS0BB9YRbfG/9pYJhthRztA7 RzZKuEFvhDbtCankbQmNSHKVueUYVmR5g0BAgys9Bt6HepZQUwi8p+3HRgD1X8W2/zfY LDAtm3HXoweqM0pl/6AgoSKGygKzwldEjs4AfSBU9hCINkLdu7e2ph8eFpk/hn02d71R x1E1dJiXRjh1jT+SI0XqbC7/8vrBVDpFKDttg7qCmTAxba1cWuUTY+mG0Gy1i/KxLXZM VOAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@animalcreek.com header.s=fm2 header.b=NVcWj4wj; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=JPRaQHr1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id er16-20020a056870c89000b000da716e6192si10499771oab.27.2022.03.28.14.41.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 14:41:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@animalcreek.com header.s=fm2 header.b=NVcWj4wj; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=JPRaQHr1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6A3DE7CB10; Mon, 28 Mar 2022 14:17:46 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241364AbiC1QKe (ORCPT + 99 others); Mon, 28 Mar 2022 12:10:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241321AbiC1QKb (ORCPT ); Mon, 28 Mar 2022 12:10:31 -0400 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E9431CFF5; Mon, 28 Mar 2022 09:08:50 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 1A8463201DA2; Mon, 28 Mar 2022 12:08:47 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 28 Mar 2022 12:08:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=animalcreek.com; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; bh=RK/wz/U+TabQb++KAzGvfQskuMllPD dsm08D4cpJkec=; b=NVcWj4wjAMrHacgiBm0vLytCFKNuNB3EDWcOA9dEJnpVJX XUkbpoHf993ZhGBi/hPPtyuwS2Xh7wt28+EgW9ak1iZE60RFl50CPO4LNmuE5aw0 eIHWweithGeR6iAVZ+Bb7Z4WkPIZRj1LqCkM/VNjtL9/Ew4xIY/1+gkYfkWACO8G w5w1sdzav9MhNkPT5dyCijrkC2DgThazAy6385aJfaFWnrJT6Eyrrq4oDFyACRyA YPardJDVkFMmIhQpzfSWmrJnnHHUc7r1CRiVBrTmJsr9julV/6fIdYCA4LKdMt5C ywH/yE+BVJrxMjb9a9TdpHJL8B99pTefwRz2nqCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=RK/wz/U+TabQb++KA zGvfQskuMllPDdsm08D4cpJkec=; b=JPRaQHr1SDfv3tKuhbsVliljiAw+86tp/ WXOZDWvDJoxGFxxFKOq3cIZVK/3eA2nVDrUM8gGJinU4m4vlOfvlghK1/oFPCLE4 j3rkeZvZc2DowwnnnOlkFo8ngQS+u4N14KfeN4ouAyHWVZ6KCF3xpQQMdLIFNypV d/pqExLEerd+mOGVG27cNgIryKI9ADOHZAOELBSQNy3DH8JvV7qTraArCae8AzbA mNPhxd8kZ/Rfs8uadtnAaGDNXd+7HZd6YxpzysTjNQCix2Tg4WLrwcpLKGNCb61l ld4JLJhy+3YRxcGRP9v+uoJe0MpwijIIFd+r3gHVrRF8WGraSNYyA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudehjedgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjohesthdtredttddtvdenucfhrhhomhepofgrrhhk ucfirhgvvghruceomhhgrhgvvghrsegrnhhimhgrlhgtrhgvvghkrdgtohhmqeenucggtf frrghtthgvrhhnpeeiuefguddtfeeitddvffetudefvdejhefgveevfedugfejffegieet teejudffhfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehmghhrvggvrhesrghnihhmrghltghrvggvkhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 28 Mar 2022 12:08:44 -0400 (EDT) Received: by blue.animalcreek.com (Postfix, from userid 1000) id B7F8313601FE; Mon, 28 Mar 2022 09:08:43 -0700 (MST) Date: Mon, 28 Mar 2022 09:08:43 -0700 From: Mark Greer To: Dan Carpenter Cc: Xiaomeng Tong , vaibhav.sr@gmail.com, mgreer@animalcreek.com, johan@kernel.org, elder@kernel.org, gregkh@linuxfoundation.org, greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] greybus: audio_codec: fix three missing initializers for data Message-ID: <20220328160843.GA262674@animalcreek.com> References: <20220327060120.4316-1-xiam0nd.tong@gmail.com> <20220328141944.GT3293@kadam> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220328141944.GT3293@kadam> Organization: Animal Creek Technologies, Inc. X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 28, 2022 at 05:19:45PM +0300, Dan Carpenter wrote: > On Sun, Mar 27, 2022 at 02:01:20PM +0800, Xiaomeng Tong wrote: > > These three bugs are here: > > struct gbaudio_data_connection *data; > > > > If the list '&codec->module_list' is empty then the 'data' will > > keep unchanged. > > All three of these functions check for if the codec->module_list is > empty at the start of the function so these are not real bugs. Umm, yep, oops. Thanks Dan. Mark --