staging: vchiq_arm: cast with __force as needed
authorMitchell Tasman <tasman@leaflabs.com>
Tue, 19 May 2020 00:45:31 +0000 (20:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 May 2020 08:46:37 +0000 (10:46 +0200)
commit728774f7801629226a0c7bd9f9af6ff1dfcb5ca5
tree435ef2b009fa055f8ed979ff2ea25787683ee055
parent49f09554fd861d1d47c28d6b0add088c80898238
staging: vchiq_arm: cast with __force as needed

In several cases where a pointer marked as __user is
(intentionally) assigned or passed to a non-marked target,
cast to the target pointer type with a __force directive
to quiet warnings from sparse.

Signed-off-by: Mitchell Tasman <tasman@leaflabs.com>
Link: https://lore.kernel.org/r/20200519004531.33158-1-tasman@leaflabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c