Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp129153pxm; Tue, 22 Feb 2022 18:40:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxfMEEjaD17GUQyn+a9Pfp/nty3bKSFzLycK5aQIVWPW7ZSGwQQljRibZ0DB1gx6vUAw4zi X-Received: by 2002:a17:902:70cc:b0:14f:9d7c:907d with SMTP id l12-20020a17090270cc00b0014f9d7c907dmr15490862plt.52.1645584030994; Tue, 22 Feb 2022 18:40:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645584030; cv=none; d=google.com; s=arc-20160816; b=Ih6kYsrUl/TdSYTm82EVWkZJBg4kgF+7EObXamXeTxkqwdvs0lCE6JN2RGX3cR4BbC UEA9kQER90XIVJ3OTsS5ujPlOnUPUPIrx4z0uwQf1ceO4OtcY3OTDF7rc0ioAPkqIHcH I90nbJB3g7lQEq71dS0aoMNNvz4XPJ+NrYRjEgHaw/oIwmZtaugQgqblzVR1G+bCgfLF BtiVd0Kd7QTKEgPWifdlxdFyUyI017Ofj23lZR8YPBHJDkbOQai+SXUEyuG+40XTbakG ZJrmtid0jl+F1HPmTKK5OuWfzHT99LcBxoCHaEaiS+/kTdN0oDh9NDAzcHDqflf33ta6 MOPA== 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=yi/olGrt6nu0ZXA9FQBOgIei3tfbQ5dhIoI8Vt2UrkA=; b=KxRxqlKYUNtBFfaHpLMovgICuVXXfu61yeyYyxoQ6oG22S3VMgONNp/makEJ5QC7nw 107aPUEm0rO8AYgQ7nh4rmMcwcj8QJdGo36hTSirc7H+WF0nzH50FepRX9vWP6lIid7l PEPXLnrrtjzSPbcBtn+xGeD5NdlWGoaWqbjDndr2v5FE4ah2in6xgUJVBT0EDX1Iv40I 37WDaGj8IE0AgDg7l9mqo7F7HUF3D2HmRLX6KQmrNiF0PtK3bdpkpT2eyc8a7t+Q8aEM U6wTrc+lvxIINgxo1R8ErTbWXy0yPaq3BoY32YJZjXknad2z3sgdw8U9tqBAuXyg+CuT 2UIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kxTdUcfB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g4si22012348pgg.81.2022.02.22.18.40.15; Tue, 22 Feb 2022 18:40:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kxTdUcfB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S235026AbiBVSqF (ORCPT + 99 others); Tue, 22 Feb 2022 13:46:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233215AbiBVSqD (ORCPT ); Tue, 22 Feb 2022 13:46:03 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C6DAF2139 for ; Tue, 22 Feb 2022 10:45:38 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id ACBAF61583 for ; Tue, 22 Feb 2022 18:45:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5034EC340EF; Tue, 22 Feb 2022 18:45:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645555537; bh=1C8QDrO2OtgLwZNTF58GfOVs6sAo8lISdzMgO8lSpDQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kxTdUcfBN9saQxItgBeiesm0kmOdbDyQ635g22V0UnPDbnKibuF3JQcYi3sCBloTO IvpdzFQV959IqT+nXxwe5qZmdqnJMMxSfgnbbUUxZ0tWU+ep1q0n7AKLCw5L2jlt0V lhnQcjCDRAF0IdnsbCm18QJqNMvCj/dPG0RNSWrxLKX1b+YkI6arxd47zonFVEJGcf XoA5u7A0Net0w5ZzQ+0GKxiQPnSXkb2FoEoaMbPm3Me2vdyYOYez1skLNPRstSl0+W R2JYN26RCUjXwL6unwKicXVZXHKU4l9DA+aLjc8TDA8JYtuMVXQpMF2xEAeOOYDpQa cxWmG2+PrBA1Q== Date: Tue, 22 Feb 2022 18:45:32 +0000 From: Mark Brown To: Srinivas Kandagatla Cc: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, pierre-louis.bossart@linux.intel.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, quic_srivasam@quicinc.com Subject: Re: [PATCH v2 3/9] ASoC: codecs: tx-macro: fix accessing array out of bounds for enum type Message-ID: References: <20220222183212.11580-1-srinivas.kandagatla@linaro.org> <20220222183212.11580-4-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SgpHx0OWTw7XBEmR" Content-Disposition: inline In-Reply-To: <20220222183212.11580-4-srinivas.kandagatla@linaro.org> X-Cookie: I smell a wumpus. X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 --SgpHx0OWTw7XBEmR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 22, 2022 at 06:32:06PM +0000, Srinivas Kandagatla wrote: > Also few return value of put functions, so that change notifications are > sent correctly. The unconditional change notifications are present in this patch and I'm guessing some others as well (they were there in a bunch previously): > tx->dec_mode[path] =3D value; > =20 > - return 0; > + return 1; > } --SgpHx0OWTw7XBEmR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmIVL0sACgkQJNaLcl1U h9BsTAf/euoTBL81jRbI5q8ZW7c/81L9UaPVST8lko3u0csVls06FN1P/6PP2CAv WYokiT/HJhsWr1OgbjNFY+9wz6qy6cFctzEGeRbRU061v5y4CAvNeZJQ0S9Ke4pg C997Fmx1ZNcE/MlleGq/Is529oFo/Z6hJnMErGV7x5hSORQhLv8FnnIO6PHfmWsn 0oF3mBft8Kylg3XozVTVC5CNK8XrJJUnxwgGx+Tx8J7lm/PLeARPQQznwumN4ZD2 CdLs5abTrvAn68uXUF9XWNSMotLsQGWcWZA9zqFRapxCi8dAhlqEm+RqvhUBh8Iu 9Gmsj4iEYOT7fLGh0nO2UzE1sXUvTQ== =zEWB -----END PGP SIGNATURE----- --SgpHx0OWTw7XBEmR--