From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 075AA39ACB for ; Tue, 9 Jan 2024 14:46:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 B048ADA7; Tue, 9 Jan 2024 06:47:20 -0800 (PST) Received: from FVFF77S0Q05N.cambridge.arm.com (FVFF77S0Q05N.cambridge.arm.com [10.1.28.161]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4B64A3F5A1; Tue, 9 Jan 2024 06:46:33 -0800 (PST) Date: Tue, 9 Jan 2024 14:46:30 +0000 From: Mark Rutland To: Tudor Ambarus Cc: catalin.marinas@arm.com, will@kernel.org, sumit.garg@linaro.org, dianders@chromium.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-team@android.com, andre.draszik@linaro.org, willmcvicker@google.com, peter.griffin@linaro.org Subject: Re: [PATCH] arm64: irq: include Message-ID: References: <20240109140437.3703330-1-tudor.ambarus@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240109140437.3703330-1-tudor.ambarus@linaro.org> On Tue, Jan 09, 2024 at 02:04:37PM +0000, Tudor Ambarus wrote: > Sorting include files in alphabetic order in > drivers/tty/serial/samsung.c revealed the following error: > > In file included from drivers/tty/serial/samsung_tty.c:24: > ./arch/arm64/include/asm/irq.h:9:43: error: unknown type name 'cpumask_t' > 9 | void arch_trigger_cpumask_backtrace(const cpumask_t *mask, int exclude_cpu); > | ^~~~~~~~~ > > Include cpumask.h to avod unknown type errors for parents of irq.h that > don't include cpumask.h. s/avod/avoid/ > Signed-off-by: Tudor Ambarus > --- > arch/arm64/include/asm/irq.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/include/asm/irq.h b/arch/arm64/include/asm/irq.h > index 50ce8b697ff3..d5612bc770da 100644 > --- a/arch/arm64/include/asm/irq.h > +++ b/arch/arm64/include/asm/irq.h > @@ -5,6 +5,7 @@ > #ifndef __ASSEMBLER__ > > #include > +#include Minor nit: we usually have the headers first, then a line space, then the headers, e.g. | #include | | #include With those changes, the patch itself looks good to me: Acked-by: Mark Rutland Mark. > void arch_trigger_cpumask_backtrace(const cpumask_t *mask, int exclude_cpu); > #define arch_trigger_cpumask_backtrace arch_trigger_cpumask_backtrace > -- > 2.43.0.472.g3155946c3a-goog >