From patchwork Thu Jul 11 16:09:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 13730844 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8E212C3DA45 for ; Thu, 11 Jul 2024 16:11:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RchFNrrsOeUdisuF9G8k0TL4L75OZKmWP+Iu1tONN+k=; b=PJ5EIKdl5e3yyz8g9zqozjMWW+ V5Iatbblt9334BCX1cjDIoWSilRIL6QUUF6DlGgWojN+QkoIBgt3uwRfA75zwDM5kZLvlLI/mNHCO jJuOYS/MhI4d3XPbJkP7vLQjyGq7ap+HE4Ew5lDoxL+kM6VRx4HAp/iSMe3KhiAz4i5ae6lM/SUzx PXBRjh4uCUNUrQn6rs6hks0MOdGZvq+PhqudXmymA10bC60Q5Sa/pYcYms0QOxKs9FXzG95YNB8nA LY9NLqo31qzUxkoTJZi/XkkneFo9Nv94d6PzCLSh3hmElXw4LUa+Kqs3eZ0zwbOHVW0QbUKgwq/7c B8t6ZtFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sRwOA-0000000EdUd-2iYZ; Thu, 11 Jul 2024 16:11:22 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sRwMN-0000000Ecjz-3Bmp for linux-arm-kernel@lists.infradead.org; Thu, 11 Jul 2024 16:09:33 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 1845361CC4; Thu, 11 Jul 2024 16:09:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99471C32786; Thu, 11 Jul 2024 16:09:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1720714170; bh=F8F5Cp/PAHsHjQGF5lCpGnenX3KIpTLb90GG1/RZ1y0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cIXKCGEaGT09SuNumcIUNz1tbSjmSF7+BAnt4iUXjwUBWYIVjJ+USKsm5nq76GoVQ s45kPObleY9YDB22L6rNrIp/YuFqnOkKFpFwVgVnZQp6/whphSE5LKVqkI3GDO68Fm kdnqF23q0h+YF5p6mallEDtVkk3lnkUVQ9S3ZiNsHETODv4kTT80dekjHM534QDqTy 7SSiFE7SzXHjfvb+oICKRSGb7wdA5IH3BJ2VCT8OlY9VOYdIYChu/AGvH0Tz7NAQZ7 r8C2VUxPW50LM2CkHccpOpkiZZ2xiWY6j4FoH9xiEvsIHs28FV/6e1FFiEr3CD3bya ypbER/gb6nQqQ== From: =?utf-8?q?Marek_Beh=C3=BAn?= To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, arm@kernel.org, Andy Shevchenko , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= Cc: =?utf-8?q?Marek_Beh=C3=BAn?= Subject: [PATCH 07/10] irqchip/armada-370-xp: Rename variable for consistency Date: Thu, 11 Jul 2024 18:09:04 +0200 Message-ID: <20240711160907.31012-8-kabel@kernel.org> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240711160907.31012-1-kabel@kernel.org> References: <20240711160907.31012-1-kabel@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240711_090931_889680_B5BDC787 X-CRM114-Status: GOOD ( 11.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Rename the variable holding the cause register to "cause" in mpic_handle_cascade_irq(). Signed-off-by: Marek BehĂșn --- drivers/irqchip/irq-armada-370-xp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-armada-370-xp.c b/drivers/irqchip/irq-armada-370-xp.c index 5f8bb693a0b1..2021b7e47a93 100644 --- a/drivers/irqchip/irq-armada-370-xp.c +++ b/drivers/irqchip/irq-armada-370-xp.c @@ -648,15 +648,15 @@ static inline void mpic_handle_ipi_irq(void) {} static void mpic_handle_cascade_irq(struct irq_desc *desc) { struct irq_chip *chip = irq_desc_get_chip(desc); - unsigned long irqmap, irqsrc, cpuid; + unsigned long cause, irqsrc, cpuid; irq_hw_number_t i; chained_irq_enter(chip, desc); - irqmap = readl_relaxed(per_cpu_int_base + MPIC_PPI_CAUSE); + cause = readl_relaxed(per_cpu_int_base + MPIC_PPI_CAUSE); cpuid = cpu_logical_map(smp_processor_id()); - for_each_set_bit(i, &irqmap, BITS_PER_LONG) { + for_each_set_bit(i, &cause, BITS_PER_LONG) { irqsrc = readl_relaxed(main_int_base + MPIC_INT_SOURCE_CTL(i)); /* Check if the interrupt is not masked on current CPU.