summaryrefslogtreecommitdiff
path: root/drivers/base/module.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2018-02-06 17:56:18 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2018-02-06 22:54:13 +0000
commitded4c39e93f3b72968fdb79baba27f3b83dad34c (patch)
tree9ac2dea288a0227d07cfd76cb7c770dfcdb565d2 /drivers/base/module.c
parente78eef554a912ef6c1e0bbf97619dafbeae3339f (diff)
downloadlinux-ded4c39e93f3b72968fdb79baba27f3b83dad34c.tar.gz
linux-ded4c39e93f3b72968fdb79baba27f3b83dad34c.tar.xz
arm/arm64: smccc: Make function identifiers an unsigned quantity
Function identifiers are a 32bit, unsigned quantity. But we never tell so to the compiler, resulting in the following: 4ac: b26187e0 mov x0, #0xffffffff80000001 We thus rely on the firmware narrowing it for us, which is not always a reasonable expectation. Cc: stable@vger.kernel.org Reported-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Robin Murphy <robin.murphy@arm.com> Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/base/module.c')
0 files changed, 0 insertions, 0 deletions