[PATCH] include/linux/arm-smccc.h: avoid sign extension problem

Jens Wiklander jens.wiklander at linaro.org
Thu Jun 2 01:28:37 PDT 2016


On Wed, Jun 1, 2016 at 6:04 PM, Russell King - ARM Linux
<linux at armlinux.org.uk> wrote:
> On Wed, Jun 01, 2016 at 02:49:21PM +0200, Jens Wiklander wrote:
>> Prior to this patch the ARM_SMCCC_FAST_CALL constant was of a signed
>> type causing unwanted sign extension. This patch explicitly selects an
>> unsigned type for the constant.
>>
>> Reported-by: Saksham Jain <sakjain92 at gmail.com>
>> Signed-off-by: Jens Wiklander <jens.wiklander at linaro.org>
>
> Looks fine to me.  Who's merging this change?  If they're going some
> other route:
>
> Acked-by: Russell King <rmk+kernel at armlinux.org.uk>

Thanks, Russel. I was hoping you would take it when it's reviewed.

Thanks,
Jens



More information about the linux-arm-kernel mailing list