On 2020-04-28, Naresh Kamboju naresh.kamboju@linaro.org wrote:
On Sat, 18 Apr 2020 at 20:24, Sasha Levin sashal@kernel.org wrote:
From: Nick Bowler nbowler@draconx.ca
[ Upstream commit c95b708d5fa65b4e51f088ee077d127fd5a57b70 ]
[...]
+static void __user *nvme_to_user_ptr(uintptr_t ptrval) +{
if (in_compat_syscall())
ptrval = (compat_uptr_t)ptrval;
arm64 make modules failed while building with an extra kernel config.
[...]
72 ../drivers/nvme/host/core.c:1256:13: error: ‘compat_uptr_t’ undeclared (first use in this function); did you mean ‘compat_time_t’?
Probably commit 556d687a4ccd5 ("compat: ARM64: always include asm-generic/compat.h") is required to be backported to 5.4 as a prerequisite for including this fix in the 5.4 stable series.
Cheers, Nick