Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp39174pxu; Tue, 5 Jan 2021 04:43:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxIsPwGx/Y6QQW93EB2q0uBmePtrXXCnhCzydcRNhMbF2zZUyAB7sZ3rbxz824Q4Tl7Q+w+ X-Received: by 2002:a17:907:6e9:: with SMTP id yh9mr70099797ejb.131.1609850602736; Tue, 05 Jan 2021 04:43:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609850602; cv=none; d=google.com; s=arc-20160816; b=DdU1eRijJEtCaMImRuf5gdUy+JG+cPXgoMeLqOg3znpx4ibLra9pmP80sffH/4YqNC SzznuHkvxXN17VN2IsO4ndnfe7UM7EqbTkSH735rdF6QR6uZTFhH7nh1wmE1+WG+23eI DJglgIjWi4YTalDYcB7B46cRMA6oSJaR4GMY3krqyhNqKAoD6zOMij4csy9zPgd545yT 0Z1D01F9LzcitTYE/it4sQ2lnvA8BOANdocmjAfaKVzlCNPC6hNJ/eulrDfxlKWYxsW6 ZdK6d5MIm389LZT5q81trUwYfqxfENqzYGHm7KFiWlmvuQmgw0BNlcKjmeClPICeYsge H2vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=sl/lcVsbbxe8xCIGPdrZ60CHyPvVxewgO8dfU+/P21s=; b=lhFAzwR1i4RXWBB6Uh3/cviWmjDT1mXDN/OHAEwextaTfn/zldpJA0ZG0x6quBxpyy ory1jJWgJeB0KTHTJeQVuwpnzpVWdOKCb3peyJG7y9E5dbw/7i0wXIa5OAv8pc5WWind Kxlzhi9P8oSVsk91iLHJOwTrqRCxauIgD4oLIcpqQCqFc1tC/8dbwDmCW78IbgBzViVc CvXCBpuf8HMNlyHEw7iZJJwSF5TFMMN9R36E6ZTnWfz2VBolX4mSmEmRGcnpqOXDPyc9 w/P24ultcP1zWxOu6IH3Vk+XGrqHfVoJyHl/P8j4UJoInbpmiReKyX8jmf6uq5gVksni Txdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c10si29172434ejf.281.2021.01.05.04.42.58; Tue, 05 Jan 2021 04:43:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728743AbhAELJq (ORCPT + 99 others); Tue, 5 Jan 2021 06:09:46 -0500 Received: from foss.arm.com ([217.140.110.172]:52806 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727764AbhAELJp (ORCPT ); Tue, 5 Jan 2021 06:09:45 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1EB131FB; Tue, 5 Jan 2021 03:09:00 -0800 (PST) Received: from [10.163.89.46] (unknown [10.163.89.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A4C113F70D; Tue, 5 Jan 2021 03:08:55 -0800 (PST) Subject: Re: [PATCH] arm64/smp: Remove unused variable irq in arch_show_interrupts() To: Catalin Marinas , Keqian Zhu Cc: Mark Rutland , kvm@vger.kernel.org, Suzuki K Poulose , Marc Zyngier , Joerg Roedel , linux-kernel@vger.kernel.org, James Morse , Julien Thierry , wanghaibin.wang@huawei.com, Will Deacon , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, Robin Murphy References: <20210105092221.15144-1-zhukeqian1@huawei.com> <20210105100847.GB11802@gaia> From: Anshuman Khandual Message-ID: <8deed54d-d184-69b8-fce9-d87128a7d880@arm.com> Date: Tue, 5 Jan 2021 16:39:15 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210105100847.GB11802@gaia> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/5/21 3:38 PM, Catalin Marinas wrote: > On Tue, Jan 05, 2021 at 05:22:21PM +0800, Keqian Zhu wrote: >> The local variable irq is added in commit a26388152531 ("arm64: >> Remove custom IRQ stat accounting"), but forget to remove in >> commit 5089bc51f81f ("arm64/smp: Use irq_desc_kstat_cpu() in >> arch_show_interrupts()"). Just remove it. >> >> Signed-off-by: Keqian Zhu > > I already queued a similar fix in arm64 for-next/fixes (it should appear > in linux-next at some point) I too sent this fix yesterday as well :) as it was preventing a clean build on v5.11-rc2. Missed to check this on arm64 for-next/fixes though I did check on linux-next.