From nobody Tue Feb 10 05:46:33 2026 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 14F2828C5CF for ; Thu, 10 Apr 2025 14:06:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744294005; cv=none; b=cyOVD9qTKJD0kgy0PNRtXD1+WzWhi8hOq0uePemYGhPhO3XSGBzLbI954gCzS2FXHncSfweUMif/rTq1zF9QQThBEu0VZc2/Wxq3OFhZ2n7h7NOhoRjjZJ712AB6SxLlOldnnBD9pyghfaRU5/axVAP8xoiWlNsxJaax9NqUqvk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744294005; c=relaxed/simple; bh=U9q+8HraNg4JM2K3asvu+3Dz70/97utwVQBUEVgctoI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ewk64EShWPsJZpNBQrdf6UKK1riQl3e4ItcNPM15e8xCgDTFnbGcqXXsFa4+6KUAJUY2Z8KE8yfMIZrQcK6N+cTN/qnaCNMHC0rjNUCafSrUhepp0CNM69EByxPkobg8QdDXcQyCPbnKtzldkubl93CLEySCHW890m2LoBhsDcQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=dyL5Zl5Y; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="dyL5Zl5Y" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-43edecbfb94so9429815e9.1 for ; Thu, 10 Apr 2025 07:06:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1744294001; x=1744898801; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=UzlWKmbplGkiGN2v7k/ekxq5IRTgVEaVq/S0RNAob/w=; b=dyL5Zl5YBj98FycXMpHoB4OXqWU1c5FJ5xlm4qw5zIwaUBkJ4g4XdNRi8bszuyNBdV z9GDAClWWZ1Y+Z6ZpnMBfY6cYpgK/zCKjDCZzglP7zcF/DAt+URkrAlR91pfqC5omLkA ARYnHE9WRaAI7B6w4F1J+hk3inoaCsAaXchYezctYzvKCtaAooBKsbz/zie5mSkwkF9b nSi3b/TKZRVeCDjO6V+aDY6SSvRhRNhMAkRQ+Mt5wNaqpXpkH7tSa/6UyzbnWcYqB33K /zmGhAbIjCdlNrcmdyrR/kHISfiaEfhQ6clICftG1wmfp+T4Y6lET0gKw3i0HKNa9nAD YV/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744294001; x=1744898801; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UzlWKmbplGkiGN2v7k/ekxq5IRTgVEaVq/S0RNAob/w=; b=AaES9NlY6Qw47/69vl2n8OiNrxDmS5ZzmpFcwI2KnhAj9lFZW6tO6Hu7ulr4ABJRwZ 7JLnY23NMDjNIG9D7+7o5Mlcv1jWFd7UEKNj+GVILL0pUwOm2YCXHF2miZo71U8MRf+E j6TbNwEwvVd9isYrmbWk6jns7g9VIpS3z16TxHK8lH+YG6zWqmVTojAiDe2dN+WR6G9k rYmimap8BWfylMXa7lYgtEVfKuj7EdIkAXjPW9GkXtkTxLrA8eyahSBsh4WKPngq/rta A1GXcTth36dhFMfjRDx+xjBze1PNTy25JBfJqsmnFqOfjaF4Bk/lh6hJ4LO7iSPXPV9o YJeg== X-Forwarded-Encrypted: i=1; AJvYcCXzStoG/eTiQZBqFrL5PYnAsThB9RxBdgMSkIJTx/2ODCzfm2qbNa2Fesa9t4i+fZ29aLEwl35Y/dfHEzI=@vger.kernel.org X-Gm-Message-State: AOJu0Yy5nkhkKsNIPjH0AJiys3E0pDkcQh8Ub3vy059yaalfOegEfzHj 2OJBvSB4/z1uj6D/rbHeuVUCf1i3mrXyzfWN+Ty3u4iFiUOxMAd5nZJZwM78Q1E= X-Gm-Gg: ASbGncvPmmbCu6QlVnqZv4qXOP/PGdOLgBCmjQGeAq1lCivBWUmZwXtgejkcTFgb+y7 vOxJ8D41lvrWdelC/BN+9BKNkHF49Zw8BEYbpmh1my5pdU8fCuGBuhlfPCanI6uXqduNRTNTyQw Pe3nYtJFzVsMOSM7oeVJRiXN5w0VOMLn6kt8cZ3aeCA07iDUXCoTizAOSV9fE5VCtHACjJ0VTV5 CyeraZXGzS+1k9qLOzVWpChj97rtgZZJcv4MrQlx/vZKF2uysKXDbj8iKLOkt4PVYpcDG5iHMiD 5lSVh5p6G+yIASND6FwCqpIeK77JkeNGM02dbv/1TORX0z1iUeaFrSrZjO2pICFi3h+nxA== X-Google-Smtp-Source: AGHT+IHFIdqfR8VnAOPw2AK4/J46cf2SZb245hEBDTyrPiE7X84if8Bb9XtXir3NzJADmlsiOCSEgw== X-Received: by 2002:a05:600c:258:b0:43d:fa59:bced with SMTP id 5b1f17b1804b1-43f3611175fmr5250945e9.32.1744294001198; Thu, 10 Apr 2025 07:06:41 -0700 (PDT) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.57]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39d8937f0d8sm4806913f8f.40.2025.04.10.07.06.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Apr 2025 07:06:40 -0700 (PDT) From: Claudiu X-Google-Original-From: Claudiu To: geert+renesas@glider.be, mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, magnus.damm@gmail.com Cc: claudiu.beznea@tuxon.dev, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Claudiu Beznea Subject: [PATCH 2/7] clk: renesas: rzg2l-cpg: Move pointers at the beginning of struct Date: Thu, 10 Apr 2025 17:06:23 +0300 Message-ID: <20250410140628.4124896-3-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250410140628.4124896-1-claudiu.beznea.uj@bp.renesas.com> References: <20250410140628.4124896-1-claudiu.beznea.uj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Claudiu Beznea Move pointers at the beginning of structure definition to avoid padding, if any. Signed-off-by: Claudiu Beznea Reviewed-by: Geert Uytterhoeven --- drivers/clk/renesas/rzg2l-cpg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/renesas/rzg2l-cpg.c b/drivers/clk/renesas/rzg2l-cp= g.c index 2ae36d94fbfa..bf2453900f36 100644 --- a/drivers/clk/renesas/rzg2l-cpg.c +++ b/drivers/clk/renesas/rzg2l-cpg.c @@ -1183,20 +1183,20 @@ rzg2l_cpg_register_core_clk(const struct cpg_core_c= lk *core, /** * struct mstp_clock - MSTP gating clock * + * @priv: CPG/MSTP private data + * @sibling: pointer to the other coupled clock * @hw: handle between common and hardware-specific interfaces * @off: register offset * @bit: ON/MON bit * @enabled: soft state of the clock, if it is coupled with another clock - * @priv: CPG/MSTP private data - * @sibling: pointer to the other coupled clock */ struct mstp_clock { + struct rzg2l_cpg_priv *priv; + struct mstp_clock *sibling; struct clk_hw hw; u16 off; u8 bit; bool enabled; - struct rzg2l_cpg_priv *priv; - struct mstp_clock *sibling; }; =20 #define to_mod_clock(_hw) container_of(_hw, struct mstp_clock, hw) --=20 2.43.0