remoteproc: fix rproc_alloc_carveout() bad variable cast
authorLoic Pallardy <loic.pallardy@st.com>
Thu, 10 Jan 2019 13:49:07 +0000 (14:49 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 21 Feb 2019 05:34:18 +0000 (21:34 -0800)
commit80137b4072853f47fce029b20ec335439e9448ae
tree4cf29091db59fa8de2bcd04bb3b9101f06e3203b
parent74457c40f97a98142bb13153395d304ad3c85cdd
remoteproc: fix rproc_alloc_carveout() bad variable cast

As dma member of struct rproc_mem_entry is dma_addr_t, no
need to cast in u32.

Fixes: d7c51706d095 ("remoteproc: add alloc ops in rproc_mem_entry struct")

Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_core.c