[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168424504378.603922.13211388957168018213.b4-ty@kernel.org>
Date: Tue, 16 May 2023 16:14:41 +0100
From: Will Deacon <will@...nel.org>
To: Catalin Marinas <catalin.marinas@....com>,
Min-Hua Chen <minhuadotchen@...il.com>
Cc: kernel-team@...roid.com, Will Deacon <will@...nel.org>,
kernel test robot <lkp@...el.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm64/mm: mark private VM_FAULT_X defines as vm_fault_t
On Tue, 2 May 2023 23:19:06 +0800, Min-Hua Chen wrote:
> This patch fixes several sparse warnings for fault.c:
>
> arch/arm64/mm/fault.c:493:24: sparse: warning: incorrect type in return expression (different base types)
> arch/arm64/mm/fault.c:493:24: sparse: expected restricted vm_fault_t
> arch/arm64/mm/fault.c:493:24: sparse: got int
> arch/arm64/mm/fault.c:501:32: sparse: warning: incorrect type in return expression (different base types)
> arch/arm64/mm/fault.c:501:32: sparse: expected restricted vm_fault_t
> arch/arm64/mm/fault.c:501:32: sparse: got int
> arch/arm64/mm/fault.c:503:32: sparse: warning: incorrect type in return expression (different base types)
> arch/arm64/mm/fault.c:503:32: sparse: expected restricted vm_fault_t
> arch/arm64/mm/fault.c:503:32: sparse: got int
> arch/arm64/mm/fault.c:511:24: sparse: warning: incorrect type in return expression (different base types)
> arch/arm64/mm/fault.c:511:24: sparse: expected restricted vm_fault_t
> arch/arm64/mm/fault.c:511:24: sparse: got int
> arch/arm64/mm/fault.c:670:13: sparse: warning: restricted vm_fault_t degrades to integer
> arch/arm64/mm/fault.c:670:13: sparse: warning: restricted vm_fault_t degrades to integer
> arch/arm64/mm/fault.c:713:39: sparse: warning: restricted vm_fault_t degrades to integer
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64/mm: mark private VM_FAULT_X defines as vm_fault_t
https://git.kernel.org/arm64/c/d91d58087806
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists