include/linux/arm-smccc.h: avoid sign extension problem
authorJens Wiklander <jens.wiklander@linaro.org>
Tue, 24 May 2016 11:16:44 +0000 (13:16 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:55:38 +0000 (15:55 -0500)
commitf1636cd2c9357549841c9560a9c11476373cc3bc
tree55178ed16bb4bea4beb55345697e455fff43133c
parent0a9d072e9cd55996cad04d6144816921bb52cb8e
include/linux/arm-smccc.h: avoid sign extension problem

Prior to this patch the ARM_SMCCC_FAST_CALL constant was of an unsigned
type causing unwanted sign extension. This patch explicitly selects an
unsigned type for the constant.

Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU Aarch64)
Reported-by: Saksham Jain <sakjain92@gmail.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
From https://github.com/linaro-swg/linux.git
(cherry picked from commit 253e93086578d3f737cd16e79efb95cc6a833195)
include/linux/arm-smccc.h