From nobody Mon Jun 15 00:19:22 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 C3F643A3E6C; Tue, 7 Apr 2026 09:20:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775553626; cv=none; b=DLnT1dRvOJHVZurRGAOnHfHLfoum+5w6KmrkcS4KBcKp1h7lIXe/bE4Upfq6za8O8I3k3rZxUdh298FIX+0u7M+zSj4St1UEl3qgjWUffMXPMkFqXxyVIoPcgbmytsGObLdQ74CqNPHckCHGzm6b7HWxFDVNZPmDdQMxbUE0GJo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775553626; c=relaxed/simple; bh=5tTRpPVINAbACKyx5BAVAIrBOb1nlFFTcooTzUMI/U4=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=Sb7jOoyL97PZhICFs6YNOWp/b42wBT4AKEzEvq3/H+5ajc96NXfDRDyHM0PYgNKFvTXlEcnpNhnpMHu6sWGkTLbxJvlCh1Xeg6q9yUdgh6tXtsw8xjA1zGXvdAwUu3bCP8KNd+O7Jd8x21W6WIDGz/Cb5z1b4r+yIJB+/W2GeSA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=3f9xeU/3; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=MdnTwM6q; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="3f9xeU/3"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="MdnTwM6q" Date: Tue, 07 Apr 2026 09:20:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1775553623; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=04FSsE2872Vy5j5kMUKyBFEVFM30nv8guANQGn8pcV0=; b=3f9xeU/3tQjzV8b4hGwzNZ2y5DyRkrXDCF1e3EqSanjtiVFcvz9EXjtk84CVoiOvGWSMhk hkUaMOjpETFFiV14QDEbaHR9qgK9J2uNGG7WDsr0QZz2S6erCOfIxs6Urn5QQUXOsHUPRL DsLctKxr0KUhjpT9afgBmzUwWmJ51wQ/OTW8kNSSxk6xMCXVR59X66mtMHis8ATVsbEXbt 4CkbnISNw908MX8gY1yBGRVlzgoL9H3p0F7Stw4VlUGz+/gRIJ9U/4AjHPZL3d1+eWUbLS ArJI6tPgI0Hsu/jlUK6MLBqiyuRsxeW5BF9DX/JxF+444pXuKDMH2MsmUIi1ww== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1775553623; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=04FSsE2872Vy5j5kMUKyBFEVFM30nv8guANQGn8pcV0=; b=MdnTwM6qHW0gygJQiz8pzqlh8L/ZBzUKC++onLRtRyV/FO0sLuYXvmlnnuVY1Chsy25CBY R0mS4dZYLpworoBA== From: "tip-bot2 for Geert Uytterhoeven" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/drivers] irqchip/renesas-rzv2h: Kill swint_idx[] Cc: Geert Uytterhoeven , Thomas Gleixner , Biju Das , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: =?utf-8?q?=3C0f32ba2a4701311710d02ff4fa2fd472b56745c4=2E1775205?= =?utf-8?q?874=2Egit=2Egeert+renesas=40glider=2Ebe=3E?= References: =?utf-8?q?=3C0f32ba2a4701311710d02ff4fa2fd472b56745c4=2E17752058?= =?utf-8?q?74=2Egit=2Egeert+renesas=40glider=2Ebe=3E?= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177555362219.226963.9573599543768306565.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the irq/drivers branch of tip: Commit-ID: fc4c926ccd34d4ee75669991693b47a9b8645a6c Gitweb: https://git.kernel.org/tip/fc4c926ccd34d4ee75669991693b47a9b= 8645a6c Author: Geert Uytterhoeven AuthorDate: Fri, 03 Apr 2026 10:48:21 +02:00 Committer: Thomas Gleixner CommitterDate: Tue, 07 Apr 2026 11:19:01 +02:00 irqchip/renesas-rzv2h: Kill swint_idx[] The array swint_idx[] just contains an identity mapping. Replace it by using the index directly, to simplify the code. Signed-off-by: Geert Uytterhoeven Signed-off-by: Thomas Gleixner Reviewed-by: Biju Das Link: https://patch.msgid.link/0f32ba2a4701311710d02ff4fa2fd472b56745c4.177= 5205874.git.geert+renesas@glider.be --- drivers/irqchip/irq-renesas-rzv2h.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-renesas-rzv2h.c b/drivers/irqchip/irq-rene= sas-rzv2h.c index 31f1916..9461f19 100644 --- a/drivers/irqchip/irq-renesas-rzv2h.c +++ b/drivers/irqchip/irq-renesas-rzv2h.c @@ -745,7 +745,7 @@ static irqreturn_t rzv2h_icu_error_irq(int irq, void *d= ata) =20 static irqreturn_t rzv2h_icu_swint_irq(int irq, void *data) { - u8 cpu =3D *(u8 *)data; + unsigned int cpu =3D (uintptr_t)data; =20 pr_info("SWINT interrupt for CA55 core %u\n", cpu); return IRQ_HANDLED; @@ -760,7 +760,6 @@ static int rzv2h_icu_setup_irqs(struct platform_device = *pdev, struct irq_domain=20 "int-ca55-2", "int-ca55-3", }; static const char *icu_err =3D "icu-error-ca55"; - static const u8 swint_idx[] =3D { 0, 1, 2, 3 }; void __iomem *base =3D rzv2h_icu_data->base; struct device *dev =3D &pdev->dev; struct irq_fwspec fwspec; @@ -780,7 +779,7 @@ static int rzv2h_icu_setup_irqs(struct platform_device = *pdev, struct irq_domain=20 } =20 ret =3D devm_request_irq(dev, virq, rzv2h_icu_swint_irq, 0, dev_name(dev= ), - (void *)&swint_idx[i]); + (void *)(uintptr_t)i); if (ret) { return dev_err_probe(dev, ret, "Failed to request %s IRQ\n", rzv2h_swint_names[i]);