Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp401354pxb; Thu, 21 Jan 2021 09:41:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJyaqpd+/bMZEkvT4Q7Ga4RmQaMCfMd6W8MlO/ygHE5v2KkUzJHUniRz1a5Dn2UJTjb9qNOm X-Received: by 2002:a17:906:828a:: with SMTP id h10mr420189ejx.274.1611250900009; Thu, 21 Jan 2021 09:41:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611250900; cv=none; d=google.com; s=arc-20160816; b=K1ZFuDzRB88+9pzizQvGmWAb9hmz15NN4ms4cMcMcFsI5o1Jw3Ui8sAy/tnGyWrcbM wnWx4cqNi1J84vyB8nGVpyiqz0LqBsTJT2kzHQAnzWOkSTPARu/192kvQQcqEyJhRttD qdca3FszVuimRcfsCK1MHrTBKOeOc6L+FMjOv9iJZn/Oat90uDQPFOFuy/OzruHa39mn xvJExNYEQBZ00s5o8LmYfZokQGw9FNXIU7x0vz3WBACpq9mX8O89LHgAHU+OScTkFATP 9d0iS55B3LiURGTyky8rkX7FjBGLVZVWMHLXzGipdAgZSaImLxDEJ0atGwEjyVlfR5kF V7Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :dlp-version:dlp-reaction:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=LrySAEeOE2O2XkjpgikTRQ9aNBN/1xtNUZf6sXwY3VE=; b=0gr1OwVcosUrNDV6CYwBN5AbhLSWFfel5tGSi4gB6tVZPCspC/4BmktaVZBfluYiP9 OWD2qMqSTxgEPiAuvKxXdfXd0D9lf1uWhim7QnyVhPq3/LwoptT13DoxDjbLUKpAdUWi ypYixBO5nRJ+OgTJjJ8erCbYYd0DO2n5Hx6QqdaQS1Xq1U1T1PCfAuPd8tuR9yf4z8lZ kpfjulWEwrILSr9zZbYtzQM2o80VgzTscu28Hksdek3BSQbBdhkj4givRAbh6Ri0RmVi xuS3wjI4DqxLSHZtCTZmbKewx9pL9tscpZI2rlJxg/+sPwZ2awL+u/HRdfoyw4LCHhiw 7HGA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z21si2656606edi.577.2021.01.21.09.41.15; Thu, 21 Jan 2021 09:41:40 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388928AbhAURjh convert rfc822-to-8bit (ORCPT + 99 others); Thu, 21 Jan 2021 12:39:37 -0500 Received: from mga09.intel.com ([134.134.136.24]:22437 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388526AbhAURgI (ORCPT ); Thu, 21 Jan 2021 12:36:08 -0500 IronPort-SDR: H/s3FXlvXhCqlUZiQVHPfuZXKrlHYkUnRZcD+/zybpP+wV0DIVsiJitRexjs5ccLweysdzdBZh /tGHR3GFRCfw== X-IronPort-AV: E=McAfee;i="6000,8403,9871"; a="179461030" X-IronPort-AV: E=Sophos;i="5.79,364,1602572400"; d="scan'208";a="179461030" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2021 09:34:49 -0800 IronPort-SDR: okOxonF+6uWkGLGISoNEO/KJa5uvFvaO8hFDVZbP8SoV/mpAUjR54m8JXzrsUXf5nxy8bt7fG4 hlWy+Ri29AOQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,364,1602572400"; d="scan'208";a="467527245" Received: from irsmsx605.ger.corp.intel.com ([163.33.146.138]) by fmsmga001.fm.intel.com with ESMTP; 21 Jan 2021 09:34:46 -0800 Received: from irsmsx601.ger.corp.intel.com (163.33.146.7) by IRSMSX605.ger.corp.intel.com (163.33.146.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 21 Jan 2021 17:34:45 +0000 Received: from irsmsx601.ger.corp.intel.com ([163.33.146.7]) by irsmsx601.ger.corp.intel.com ([163.33.146.7]) with mapi id 15.01.1713.004; Thu, 21 Jan 2021 17:34:45 +0000 From: "Rojewski, Cezary" To: Ricardo Ribalda CC: Pierre-Louis Bossart , Liam Girdwood , Jie Yang , "Mark Brown" , Jaroslav Kysela , Takashi Iwai , Mateusz Gorski , "Andy Shevchenko" , "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" , Lukasz Majczak Subject: RE: [PATCH v2 2/2] ASoC: Intel: Skylake: Zero snd_ctl_elem_value Thread-Topic: [PATCH v2 2/2] ASoC: Intel: Skylake: Zero snd_ctl_elem_value Thread-Index: AQHW8Bk4ltU3amcxfkyZEse4eO7dYaoyVvrQ Date: Thu, 21 Jan 2021 17:34:45 +0000 Message-ID: References: <20210121171644.131059-1-ribalda@chromium.org> <20210121171644.131059-2-ribalda@chromium.org> In-Reply-To: <20210121171644.131059-2-ribalda@chromium.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 x-originating-ip: [163.33.253.164] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-01-21 6:16 PM, Ricardo Ribalda wrote: > Clear struct snd_ctl_elem_value before calling ->put() to avoid any data > leak. > > Signed-off-by: Ricardo Ribalda Reviewed-by: Cezary Rojewski Thanks, Czarek