From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 233C7155757 for ; Mon, 24 Aug 2026 04:06:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787544383; cv=none; b=p9vbYg2CIZNDDTABibj9djfQIdDn4btJwdfWH3FEbRB66bbjkQ/QxqjHSRYLGjeP7C4dgT6tVcSPggZ7GXkyeklcY0aphu3Z/ewjOmgTDGoMgtA+s8irX3zipVAGJNveGq4JJNNabIN5hbVnM7qDKgaLAmvJbb0TcdYbBLNKSrI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787544383; c=relaxed/simple; bh=exbFruRfa5/z+uGWp84fkhkOcBsK93Ejj4V0SsqYGRQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=md/al93l2ylWEsECiw12Rw4Xe0HaJ3aPHP4+Madz3W0ALVORi72xOJ+9tk84HrIDc6/Mu9Seh0TQ27gMSkQXCwjv8Iv97mP/SpS4c1JpkFGU7lJtG0ulnbql/Cr6HFJzlPN2qsKK+lZJTRAj0rA5VBuiuXpEx20vlEgf6PGxw7w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Y1Pl07nJ; arc=none smtp.client-ip=209.85.215.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Y1Pl07nJ" Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-cc16c6dcae2so2826446a12.2 for ; Sun, 23 Aug 2026 21:06:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1787544381; x=1788149181; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=aZ+YAW/hXFppA4FxL5IflpWDS7HfTYg8qTJoBoXjwNs=; b=Y1Pl07nJEBvMARxJYsezaOe69gegq+UiW5Z2zU0UAwGBkNYAPuKMTT/dhin/waNGGH QbHiRSomwemUYLYozgmmRQrG/2wPEsTAuR7tioiYpFQeVVduqt8lJoR5QZ3M/6PeR8mW iZPhuMYfThzlQFM24MXmSs5fBO8Xk6t1LZ732CVlMYd8QAdfZd0uvCs9HILUakkKgHwA vbtHYyPGtJvJlgRVelyAgWcuwGjQYppA9UPnp92FqGe5x44wsceiz6YGiJDwNu6C3nDe WPqUtygQskXvci4sU+VX/9quf3JMDRDGVAu+bHuhks5QBKHKkNKDF699A/XiY/+YxiLm fS1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787544381; x=1788149181; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=aZ+YAW/hXFppA4FxL5IflpWDS7HfTYg8qTJoBoXjwNs=; b=O9MacBNz3ZYjCV0XvFr1ZUaGEQVqHeuIi6JtRgnfM4vhQ0hkQcmH8s6Vdm+oPtxVZf J1NllrZ46s3xhJiJZPGKZDDbbEUKuXkTYnQ/gVLANnqSH4R6amaYP59ZHEycbOFhBi2n olD2RfEwEsIUrapHeuMPm/x8VnIPMdNlPOgolDJIImdZBskv661GCTtX6TUVZUSk9moI UrZm54RZp4ao2vUaY9+1hCSaUGQ1ATcLpL1ptFmi+hFoF7evM95Ic8fnlciUAX81FfMU JUxYSfHjWjySyR0cYnwIrnMw6NWOqGFF+Dr6FtAXmW6NP/PKqxZ4nDZVM9mfvv92KRKg /HWQ== X-Forwarded-Encrypted: i=1; AHgh+Rqh6EqzZ2vm92RnbeunCte5hDCvouBUQXwjt8kLVbDUUETG5nYEL97go9PkarNPuN5nfLvQh34h3Ldn+Q==@vger.kernel.org X-Gm-Message-State: AFuF++me5Md9NN7blAfVPGx5BNPduMiXhi8ZJ+RnTnKIgti4GwEAyQGd SoQFY9HMhiejCtR7idtyIIocv/plre8zCi3WDQHphHjzFhO8Vr3tRWjvimkWBuK5Nyo= X-Gm-Gg: AR+sD105POE9NPoApIvXEahYMEaEB/ElSEGcohsxqpyBN+KvCFAeNPgzo2dvaD1VDKm bJOVMZVT9UG7vQeqKZ8d87ZhzD+HB69l/vLK2GhExx6ew7SeUQIsmDOMbNO5U+dzOq3UkIBqLIl EKW+TB16lYnq5QKA9HHwPIIamKCjFIMkeue0LsXtUtbuR7cw9hWVoUDHKIsFnMUmlryvGSl4BTh saoz4A/XXRXII9m7KBN1FQXM6DkNcP8ryPbmB0I0TgySnY1mWn7r+IG/aUajVOVXQh+5RFcIuGJ eCzSshoNcYDs1Z5HhQzQJNEoK8ZMVQA+6HxAuh2zQ4hxq6JoSkNeXjI9ll2035GspDiw+IBz/Um EL3CAp0xrM2qfuUsus7Dk+msL6T9bUwkanZ771WOcGxeNpyNlTVDjOJaRddkIHvtbhC9bc+/rO+ J3Hrn75sBZxx6dGyWofE7OjU0u0WEq0M7WBlQn/I+6vjFqnBYb564b1+uagDOl2ZQ= X-Received: by 2002:a05:6a20:7288:b0:3c3:6b6e:8ba0 with SMTP id adf61e73a8af0-3cd3008a6f1mr36995990637.11.1787544381391; Sun, 23 Aug 2026 21:06:21 -0700 (PDT) Received: from localhost ([122.172.87.224]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1418619d6ecsm19733419c88.14.2026.08.23.21.06.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Aug 2026 21:06:20 -0700 (PDT) Date: Mon, 24 Aug 2026 09:36:17 +0530 From: Viresh Kumar To: Geert Uytterhoeven Cc: Ryan Chen , Joel Stanley , Stephen Boyd , Brian Masney , Jerome Brunet , Andrew Jeffery , Billy Tsai , Nicolas Ferre , 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 , Emilio =?iso-8859-1?Q?L=F3pez?= , 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 , linux-clk@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, arm-scmi@vger.kernel.org, imx@lists.linux.dev, linux-mips@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, soc@lists.linux.dev, linux-stm32@st-md-mailman.stormreply.com, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 33/45] clk: spear: Make sure clk_init_data is fully initialized Message-ID: References: Precedence: bulk X-Mailing-List: linux-tegra@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On 21-08-26, 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/spear/clk-aux-synth.c | 2 +- > drivers/clk/spear/clk-frac-synth.c | 2 +- > drivers/clk/spear/clk-gpt-synth.c | 2 +- > drivers/clk/spear/clk-vco-pll.c | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) Acked-by: Viresh Kumar -- viresh