From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7DD571D7E57 for ; Thu, 12 Jun 2025 05:42:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749706926; cv=none; b=Y/daajeCABkERaaLmNlamnphWDr6ST3bLWs5jC9Fyw55jVHI3Prg+g6HYA2vMnrvOPrS1odiI3pS7Sbm2dOeMqi73Ec12WW5BmbLGDd2CtAdCRbPcnjP8XOlILDJOvRFkswstikAHKBTehx82usSR4qR7nuy2dhLgOa1YbeVn2M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749706926; c=relaxed/simple; bh=odpS62rjlgWdog+s+n9elEPssqerJy3q3R0Wl+zkYoo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DgWv4pk8ZD/coGJRG2rHTboFCN9hk9baze2V7vCw/NDIUTN1AIA3WVj1viw5oqnW48h4cl+PYTXj5BMSUms+1rjdFBxlV/J5SwhfGgoI3R01xAFqtZaPNa4/hRvOrx2eQULnZ4/hD8GWJ+el1OHK6ZDqW1CXdKEVZ8CJ90zz30E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1uPah2-0000LG-81; Thu, 12 Jun 2025 07:41:40 +0200 Message-ID: <4562e9ad-50ea-4523-b619-8018ad71b8fa@pengutronix.de> Date: Thu, 12 Jun 2025 07:41:37 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 10/28] iio: adc: ti-lmp92064: use = { } instead of memset() To: David Lechner , Michael Hennerich , Lars-Peter Clausen , Jonathan Cameron , =?UTF-8?Q?Nuno_S=C3=A1?= , Andy Shevchenko , Matthias Brugger , AngeloGioacchino Del Regno , Heiko Stuebner , Maxime Coquelin , Alexandre Torgue , Francesco Dolcini , =?UTF-8?Q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= , kernel@pengutronix.de, Oleksij Rempel , Roan van Dijk , Jacopo Mondi , Jean-Baptiste Maneyrol , Mudit Sharma , Javier Carrasco , =?UTF-8?Q?Ond=C5=99ej_Jir?= =?UTF-8?Q?man?= , Andreas Klinger , Petre Rodan Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com References: <20250611-iio-zero-init-stack-with-instead-of-memset-v1-0-ebb2d0a24302@baylibre.com> <20250611-iio-zero-init-stack-with-instead-of-memset-v1-10-ebb2d0a24302@baylibre.com> Content-Language: en-US From: =?UTF-8?Q?Leonard_G=C3=B6hrs?= In-Reply-To: <20250611-iio-zero-init-stack-with-instead-of-memset-v1-10-ebb2d0a24302@baylibre.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:900:1d::77 X-SA-Exim-Mail-From: l.goehrs@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Am 12.06.25 um 00:39 schrieb David Lechner: > Use { } instead of memset() to zero-initialize stack memory to simplify > the code. > > Signed-off-by: David Lechner Reviewed-by: Leonard Göhrs