lkml.org 
[lkml]   [2019]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v10 12/25] arm64: irqflags: Use ICC_PMR_EL1 for interrupt masking
On Fri, Feb 08, 2019 at 09:36:48AM +0000, Julien Thierry wrote:
> From e839dec632bbf440efe8314751138ba46324078c Mon Sep 17 00:00:00 2001
> From: Julien Thierry <julien.thierry@arm.com>
> Date: Fri, 8 Feb 2019 09:21:58 +0000
> Subject: [PATCH] arm64: irqflags: Fix clang build warnings
>
> Clang complains when passing asm operands that are smaller than the
> registers they are mapped to:
>
> arch/arm64/include/asm/irqflags.h:50:10: warning: value size does not
> match register size specified by the constraint and modifier
> [-Wasm-operand-widths]
> : "r" (GIC_PRIO_IRQON)
>
> Fix it by casting the affected input operands to a type of the correct
> size.
>
> Reported-by: Nathan Chancellor <natechancellor@gmail.com>
> Signed-off-by: Julien Thierry <julien.thierry@arm.com>

Applied. Thanks.

--
Catalin

\
 
 \ /
  Last update: 2019-02-08 17:17    [W:0.097 / U:36.896 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site