]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ARM64: Fix bad cast in vc04_services
authorMichael Zoran <mzoran@crowfest.net>
Fri, 13 Jan 2017 02:56:54 +0000 (18:56 -0800)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 19 Sep 2017 10:07:48 +0000 (12:07 +0200)
commit80c768e7317c36991fdaa92141752a3a38b19ce1
treeb2ed640931e001d92b195048c1e9eeaaf49f1912
parenta0cb744740f77b5b1a452b141240ed615628351c
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