staging: fsl-mc/dpio: Fix incorrect casts
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Mon, 26 Feb 2018 16:28:04 +0000 (10:28 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Mar 2018 16:27:18 +0000 (17:27 +0100)
commita4c4f360316ce0684335d2bf15b364b10b23c35a
treea5be84399e0d20d43f1ec4b53eb5b0b79b3a0113
parente1a7418529e33bc4efc346324557251a16a3e79b
staging: fsl-mc/dpio: Fix incorrect casts

The DPIO driver incorrectly assumes virtual addresses are always
64b long, which causes compiler errors when building for a 32b
platform.

Fix this by using explicit casts to uintptr_t where necessary.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/dpio/dpio-service.c
drivers/staging/fsl-mc/bus/dpio/qbman-portal.c