From nobody Mon Jun 15 00:04:13 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 CA72839BFF8; Tue, 7 Apr 2026 09:20:23 +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=1775553625; cv=none; b=QSl4ASwWHAwlvtDN1E8xRAua/boT5+6+YIJx3vL77zbfh32OrB0f180bTQj+kUgAyT29391crozcXyvNNAxhj1x0owZu7c9EKvA6A/Riq1UYwUMtbf5e6QZLVlIY9jpadc6uS4VO8nzX4BFqEhbHXoSfE33P1lfFBrl2nDqRivE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775553625; c=relaxed/simple; bh=UvNFOI63cTU5o7lVgzGVcvjk/qEovcFtm3cwe98are0=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=HlYaadoFR4Y+DMG0xjNKflq/QvOjE+T6fm5+9kgoscKiw5pyKy12Y0xpxLFe0p3jqDCVCxL7Vr2TEAe6jGWKlbob7pPs2R2w6OKYWrD6vUy3FCSgfe7lssxnb8oH1LQHfKnEB5pNM7uOhWa5o1Ea9qVujHOsoRevllo+TAIeNG8= 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=WEqMzb2s; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Um3+OCwi; 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="WEqMzb2s"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Um3+OCwi" Date: Tue, 07 Apr 2026 09:20:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1775553622; 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=iRcHv1ppzdPaU3vGKck1dVtvpyT6B/X1gakelW4jliI=; b=WEqMzb2sxvft3yvoaJ5Vdv114tc3yqjClSzY1J3GDT/N9Et1hBLKKSJhftWYcyL+09pxz6 jIMfij/LoHsYA5pQrpWLxYkuLNrJengsJRLrcOD3W2e5k5PXpxY1R9aRLkkLaxfUuVFEb1 bI+AkL+s6t6kgEefrJgn+6QczDeqJcNkBmfc1pfZZ5MP9g+xgj0HnZC/xUsMs7aQVCpAvG jxvFiPS3FUqA6MsqAcES3XEhh1LVG4iTHPVXG0V9xYc5Fs9qmv9FExHU5+KXmS8XYqYSHf Pp8zJexW9rmC8f2OVEiSBwQ1dJ5UG535LKXj6XKBMSl1yw+571VXfA8DNdBcFQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1775553622; 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=iRcHv1ppzdPaU3vGKck1dVtvpyT6B/X1gakelW4jliI=; b=Um3+OCwiEJRmZXaaxZSzQHkvyXNj/r2L6xuECM3XzVQaZhwAimdQxXGxfzRp73ckKd187P yW1HEulsGiJpc+Cg== 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_names[] Cc: Geert Uytterhoeven , Thomas Gleixner , Biju Das , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: =?utf-8?q?=3Caceab3fbc307ef428dfd62d8d846b68704dea012=2E1775205?= =?utf-8?q?874=2Egit=2Egeert+renesas=40glider=2Ebe=3E?= References: =?utf-8?q?=3Caceab3fbc307ef428dfd62d8d846b68704dea012=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: <177555362095.226963.3790207463047809052.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: 8c7ffedff0db88837de11cfaf3e5367e0b77bc4c Gitweb: https://git.kernel.org/tip/8c7ffedff0db88837de11cfaf3e5367e0= b77bc4c Author: Geert Uytterhoeven AuthorDate: Fri, 03 Apr 2026 10:48:22 +02:00 Committer: Thomas Gleixner CommitterDate: Tue, 07 Apr 2026 11:19:01 +02:00 irqchip/renesas-rzv2h: Kill swint_names[] The array swint_names[] just contains expansions of "int-ca55-%u". Replace it by formatting the strings where needed, to improve readability. Despite the two error messages can no longer be shared with the ICU error cases, this reduces generated code size by 56 bytes. Signed-off-by: Geert Uytterhoeven Signed-off-by: Thomas Gleixner Reviewed-by: Biju Das Link: https://patch.msgid.link/aceab3fbc307ef428dfd62d8d846b68704dea012.177= 5205874.git.geert+renesas@glider.be --- drivers/irqchip/irq-renesas-rzv2h.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/irqchip/irq-renesas-rzv2h.c b/drivers/irqchip/irq-rene= sas-rzv2h.c index 9461f19..c701e46 100644 --- a/drivers/irqchip/irq-renesas-rzv2h.c +++ b/drivers/irqchip/irq-renesas-rzv2h.c @@ -755,10 +755,6 @@ static int rzv2h_icu_setup_irqs(struct platform_device= *pdev, struct irq_domain=20 { const struct rzv2h_hw_info *hw_info =3D rzv2h_icu_data->info; bool irq_inject =3D IS_ENABLED(CONFIG_GENERIC_IRQ_INJECTION); - static const char * const rzv2h_swint_names[] =3D { - "int-ca55-0", "int-ca55-1", - "int-ca55-2", "int-ca55-3", - }; static const char *icu_err =3D "icu-error-ca55"; void __iomem *base =3D rzv2h_icu_data->base; struct device *dev =3D &pdev->dev; @@ -774,16 +770,14 @@ static int rzv2h_icu_setup_irqs(struct platform_devic= e *pdev, struct irq_domain=20 =20 virq =3D irq_create_fwspec_mapping(&fwspec); if (!virq) { - return dev_err_probe(dev, -EINVAL, "failed to create IRQ mapping for %s= \n", - rzv2h_swint_names[i]); + return dev_err_probe(dev, -EINVAL, + "failed to create int-ca55-%u IRQ mapping\n", i); } =20 ret =3D devm_request_irq(dev, virq, rzv2h_icu_swint_irq, 0, dev_name(dev= ), (void *)(uintptr_t)i); - if (ret) { - return dev_err_probe(dev, ret, "Failed to request %s IRQ\n", - rzv2h_swint_names[i]); - } + if (ret) + return dev_err_probe(dev, ret, "Failed to request int-ca55-%u IRQ\n", i= ); } =20 /* Unmask and clear all IP/CA55 error interrupts */