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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0129FC5DF89 for ; Fri, 21 Aug 2026 13:40:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:CC:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=snYMSQGLX7fdVb26BR0eBaIgLA3y4337AX1lKdDJKJA=; b=jJaiTVElUbp/8mrRkPS77cCIBN AndSmZW8oXDSdcwEBK6tf+dbf6bTSaRiMSdCcJCs6Sbg5ASjJZXFzwFoOFNm537yc4B+w2ArC+/Qd Ut+S5N7swebzR9DSKKIiCsZFFVoJnA8e1nKFbm6loRs+QtiQfqujrDmmtkBU2Frek3uBNqWgDldkc NdbmAtr2po8xcZMpOwsFrjOhnzXh13I2MXpiSPXA5ZqgFK1HXI8KrsPQLTPKes6dXb2PnYfHrfTo8 foTIZbgerEmNF5pz3KlbodLBrUkAKnBAN7dzhev/xtZ7okKGJCbB0zdxhIGgmpLIPqyRmfHY+B59h fHe+hQgw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wxPTi-0000000DRXQ-1Ul6; Fri, 21 Aug 2026 13:40:14 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wxPTe-0000000DRWS-253R; Fri, 21 Aug 2026 13:40:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1787319610; x=1818855610; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=nZtcGenSSy82MXscgS3TQDHNGhXxDRFUvHEV/XVmaDg=; b=HkCesPfiKW8TGknOzbSHutJsintlBZDqkwL7ahDn25sl2SwEfQuOYAah wQtU91KC8hkmXeqHCZU87PDyM7KUk5jrrtbMv7cg2SGarFm8LULSXR+J8 xdci39QzCgusFXLn0pz0JYFcvmDIkHXC+ulcCqMorqa6Llxp/HNTHpZKG tQVUxdm8MehkltEZnbEuDkCyCbG0Z5C3vX6e7Rt4xKFllR2djLdqckcqC NB412aYSli6FOJL1+PmJV4OxfYgbWmw5HTIKcgPwGWKwCU53zQiB8BFQU DnabPDRliwLVKnPjFv1hPMr/g0mWK9/Y/EFSt0xtT+LFaMLu+XgSNlm5c w==; X-CSE-ConnectionGUID: HyXRN8+nRO6IAOBi+2U6dQ== X-CSE-MsgGUID: F1ngVutmTiOQH0sP1B/9VA== X-IronPort-AV: E=Sophos;i="6.25,235,1779174000"; d="scan'208";a="62471628" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 21 Aug 2026 06:40:05 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.58; Fri, 21 Aug 2026 06:40:04 -0700 Received: from [10.171.248.60] (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.58 via Frontend Transport; Fri, 21 Aug 2026 06:39:47 -0700 Message-ID: <0903bc22-e913-4e14-99f6-db6b97aa3a27@microchip.com> Date: Fri, 21 Aug 2026 15:39:46 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 02/45] clk: at91: Make sure clk_init_data is fully initialized To: Geert Uytterhoeven , Ryan Chen , Joel Stanley , Stephen Boyd , Brian Masney , Jerome Brunet , Andrew Jeffery , Billy Tsai , Alexandre Belloni , Claudiu Beznea , Ray Jui , Scott Branden , Broadcom internal kernel review list , Taichi Sugaya , Takao Orito , Linus Walleij , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Sudeep Holla , Cristian Marussi , David Lechner , Abel Vesa , Peng Fan , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Paul Cercueil , Santosh Shilimkar , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Vladimir Zapolskiy , Heiko Stuebner , Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi , Peter Griffin , Alim Akhtar , Dinh Nguyen , Viresh Kumar , Maxime Coquelin , Alexandre Torgue , =?UTF-8?Q?Emilio_L=C3=B3pez?= , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Prashant Gaikwad , Thierry Reding , Jonathan Hunter , Kunihiko Hayashi , Masami Hiramatsu , Ulf Hansson , Liviu Dudau , Lorenzo Pieralisi , Michal Simek , Matthias Brugger CC: , , , , , , , , , , , , , , , References: From: Nicolas Ferre Content-Language: en-US, fr Organization: microchip In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260821_064010_756416_1391E207 X-CRM114-Status: GOOD ( 14.62 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org On 21/08/2026 at 10:53, Geert Uytterhoeven wrote: > The clk_init_data structure contains several mutually-exclusive members > for different methods to specify the possible parents of a clock, > prompting drivers to initialize only the members they need. However, > not initializing all members may cause subtle issues, which are only > exposed when CONFIG_INIT_STACK_ALL_PATTERN or CONFIG_INIT_STACK_NONE is > enabled. > > Make sure all members are fully initialized, to avoid such bugs, and to > prevent future breakage when converting drivers to a different method > for specifying the parents. > > Signed-off-by: Geert Uytterhoeven > --- > Compile-tested only. > --- > drivers/clk/at91/clk-audio-pll.c | 4 ++-- > drivers/clk/at91/clk-h32mx.c | 2 +- > drivers/clk/at91/clk-main.c | 2 +- > drivers/clk/at91/clk-pll.c | 2 +- > drivers/clk/at91/clk-plldiv.c | 2 +- > drivers/clk/at91/clk-slow.c | 2 +- > drivers/clk/at91/clk-smd.c | 2 +- > drivers/clk/at91/clk-usb.c | 6 +++--- > drivers/clk/at91/sckc.c | 2 +- > 9 files changed, 12 insertions(+), 12 deletions(-) Acked-by: Nicolas Ferre Thanks Geert, Nicolas