OSDN Git Service

slimbus: qcom: fix incompatible pointer warning
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Sun, 31 Dec 2017 14:23:11 +0000 (14:23 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 Dec 2017 16:52:59 +0000 (17:52 +0100)
commitdb809859c8cee415293b830e67178f526d1eb2be
treec8687da4382e0ac6b0907e49576112ce48e8f001
parent0b598e4f877ba28603985031b98d4d592464ade7
slimbus: qcom: fix incompatible pointer warning

One of the pointer passed to dmam_alloc_coherent seems to be
phys_addr_t * instead of dma_addr_t *. This address will be
used by dma apis, so change this to proper type.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/slimbus/qcom-ctrl.c