From patchwork Sat Oct 7 12:00:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 149567 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp886119vqo; Sat, 7 Oct 2023 05:02:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG2NIVspH8ymAu95QNuKTZwS3AoljY4twJ+tycJC27yNqo185sNTnaKKKRmPOzDnkUQlN7t X-Received: by 2002:a17:902:dacd:b0:1c7:54ee:c53c with SMTP id q13-20020a170902dacd00b001c754eec53cmr12278813plx.57.1696680131269; Sat, 07 Oct 2023 05:02:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696680131; cv=none; d=google.com; s=arc-20160816; b=b6QWmBYRYHt6OnwuIDqQF7tJCEUv29m/bhU5ohd4UnEZNFozVrswXznzIDG9+UofUo ScsAbfDBY2AObY+onFbJfQfO3Z9fUKcaoYrf7Z57cI7KlmQAo71wmXY9i3O77XigMq3W FRcqlkTaKDN7lndxdYV1bl00aApmWmDibOgOD6gHiSeF/654lQfXNp0P66GjKYP/bV92 DczAtOExIzBeOVQGDag+7X5ahjtbiP3CNyDlwPtlvVP6TgdMLPPun48dA2dDhiUyqXw0 z0SMIG1ejFHQepmqDfhYZaF/a3feXDF8g7PddxUY6ygwhptm5ACLtq2GpqP0YadV/xcn uROg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=9eQCG1SubaLKcefX9RXX8VJmey2R9K7NERppFez/kQs=; fh=U1bvXzc5DLUbqE8RtSTru811HpNvcfiwGVXxa9W6UHs=; b=gOZg2yrz1rzNWELOQzKrq35Mkt3ObHN1ig/ozWO93tg9jy4iiLkZrg5Jt0/mZ6/4fR QUS6otBpKxEny+8UsPZP3l0xPDGPj4YGQEl5S7DYODrmejIzFSZz3skNFZjNl5qTtRac qN0C7OUcrA5HX94pzvCSUBpMzwlzfK7R9Ac1hMcPs9Df6Lhca5K1E2fVM06fT0p7W6Bz tNLmgXcJ1xgdv33AOQyuicVQC8tCT8RfADvbHfyxoRW0svcgXRzLFPm+S+ejsq1ba3VL GeDfinIWmSYgeHP22t7WTGscVpvpuvwSpC0szOokS3659XmlrQPmzriZknvaE1kU09DD cM+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=fLJxRfVk; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=tHdq5eK1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id j8-20020a170903024800b001c612f42c78si3672624plh.513.2023.10.07.05.02.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 05:02:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=fLJxRfVk; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=tHdq5eK1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 9D7F58061385; Sat, 7 Oct 2023 05:01:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343914AbjJGMAw (ORCPT + 18 others); Sat, 7 Oct 2023 08:00:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343680AbjJGMAq (ORCPT ); Sat, 7 Oct 2023 08:00:46 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBBCBBD for ; Sat, 7 Oct 2023 05:00:44 -0700 (PDT) Date: Sat, 07 Oct 2023 12:00:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1696680043; 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=9eQCG1SubaLKcefX9RXX8VJmey2R9K7NERppFez/kQs=; b=fLJxRfVkH6YmuFj6bd7wJkrpzI5cWBYcxYwTpxFGvNNhekMMZ/DU8QJzkOw6FxyqM/nYbl ktbpU43K44GHpT6oIxGnUOTW9c6n0NJ8WOXZRoX6HEUYGLb83TzAEOOJW+IvTYSm7sbm8M 30m8m/xiuwYwaJDwTpEhageo6FqmppODlVM2QmAhacI7l3J8Q0flLgPaxKNaEcgc+x/llj oIIIfm5ipI8W8+ZPevjVChYH28NvwAF9DRoaCWVEoVtXKAF08CLj96LMtnQraQzYjavx6O ikY3lYTpajd3kPeTVVI8E7T7jrA2OKzVTMIr4ZNSd1TBNiJ5HrIY0wS9oDhXdg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1696680043; 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=9eQCG1SubaLKcefX9RXX8VJmey2R9K7NERppFez/kQs=; b=tHdq5eK1hladga6W4RW9ZrjwiFVrWeb/8UsAFSgy9dfEWUBZ5/EX0t7fn55mBv3fqqgKQG fPI2h97WHJmZfYBw== From: "irqchip-bot for Geert Uytterhoeven" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-fixes] irqchip/renesas-rzg2l: Convert to irq_data_get_irq_chip_data() Cc: Geert Uytterhoeven , Lad Prabhakar , Marc Zyngier , tglx@linutronix.de In-Reply-To: =?utf-8?q?=3C8e47cc6400e5a82c854c855948d2665a3a3197e3=2E1695819?= =?utf-8?q?391=2Egit=2Egeert+renesas=40glider=2Ebe=3E?= References: =?utf-8?q?=3C8e47cc6400e5a82c854c855948d2665a3a3197e3=2E16958193?= =?utf-8?q?91=2Egit=2Egeert+renesas=40glider=2Ebe=3E?= MIME-Version: 1.0 Message-ID: <169668004265.3135.6097288316194548861.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sat, 07 Oct 2023 05:01:11 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779098065377854353 X-GMAIL-MSGID: 1779098065377854353 The following commit has been merged into the irq/irqchip-fixes branch of irqchip: Commit-ID: 8a4f44f3e9b05c38606b2ae02f933d6b64a340dd Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/8a4f44f3e9b05c38606b2ae02f933d6b64a340dd Author: Geert Uytterhoeven AuthorDate: Wed, 27 Sep 2023 14:57:32 +02:00 Committer: Marc Zyngier CommitterDate: Sat, 07 Oct 2023 12:47:13 +01:00 irqchip/renesas-rzg2l: Convert to irq_data_get_irq_chip_data() Use the existing irq_data_get_irq_chip_data() helper instead of open-coding the same operation. Signed-off-by: Geert Uytterhoeven Reviewed-by: Lad Prabhakar Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/8e47cc6400e5a82c854c855948d2665a3a3197e3.1695819391.git.geert+renesas@glider.be --- drivers/irqchip/irq-renesas-rzg2l.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-renesas-rzg2l.c b/drivers/irqchip/irq-renesas-rzg2l.c index 2cee547..96f4e32 100644 --- a/drivers/irqchip/irq-renesas-rzg2l.c +++ b/drivers/irqchip/irq-renesas-rzg2l.c @@ -130,8 +130,8 @@ static void rzg2l_irqc_irq_enable(struct irq_data *d) unsigned int hw_irq = irqd_to_hwirq(d); if (hw_irq >= IRQC_TINT_START && hw_irq < IRQC_NUM_IRQ) { + unsigned long tint = (uintptr_t)irq_data_get_irq_chip_data(d); struct rzg2l_irqc_priv *priv = irq_data_to_priv(d); - unsigned long tint = (uintptr_t)d->chip_data; u32 offset = hw_irq - IRQC_TINT_START; u32 tssr_offset = TSSR_OFFSET(offset); u8 tssr_index = TSSR_INDEX(offset);