ARM64: Fix bad cast in vc04_services
authorMichael Zoran <mzoran@crowfest.net>
Fri, 13 Jan 2017 02:56:54 +0000 (18:56 -0800)
committerJaechul Lee <jcsing.lee@samsung.com>
Fri, 18 Aug 2017 01:04:51 +0000 (10:04 +0900)
commit2c6882e09331f05fe3ba128530b548665c06ff17
treed00baf540fe371b8796f59a2592dc4ef4a346b68
parente3557d8e3aec05b9c7794d1f0b28a36855c4f09c
ARM64: Fix bad cast in vc04_services

The function vchiq_copy_from_user contains a non-portable
cast to uint32_t.  Convert this to a cast to unsigned long
which is portable.

Signed-off-by: Michael Zoran <mzoran@crowfest.net>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c