]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
arm64: kasan: fix include error in MTE functions
authorPaul Semel <semelpaul@gmail.com>
Tue, 8 Mar 2022 09:30:58 +0000 (10:30 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 9 Mar 2022 15:27:21 +0000 (15:27 +0000)
commitb859ebedd1e730bbda69142fca87af4e712649a1
treedc4acbc700d81775e0921802365c652eb93b1f98
parent6e2edd6371a497a6350bb735534c9bda2a31f43d
arm64: kasan: fix include error in MTE functions

Fix `error: expected string literal in 'asm'`.
This happens when compiling an ebpf object file that includes
`net/net_namespace.h` from linux kernel headers.

Include trace:
     include/net/net_namespace.h:10
     include/linux/workqueue.h:9
     include/linux/timer.h:8
     include/linux/debugobjects.h:6
     include/linux/spinlock.h:90
     include/linux/workqueue.h:9
     arch/arm64/include/asm/spinlock.h:9
     arch/arm64/include/generated/asm/qrwlock.h:1
     include/asm-generic/qrwlock.h:14
     arch/arm64/include/asm/processor.h:33
     arch/arm64/include/asm/kasan.h:9
     arch/arm64/include/asm/mte-kasan.h:45
     arch/arm64/include/asm/mte-def.h:14

Signed-off-by: Paul Semel <paul.semel@datadoghq.com>
Fixes: 2cb34276427a ("arm64: kasan: simplify and inline MTE functions")
Cc: <stable@vger.kernel.org> # 5.12.x
Link: https://lore.kernel.org/r/bacb5387-2992-97e4-0c48-1ed925905bee@gmail.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/mte-kasan.h