]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6d7b89b3e311844d4d7fc4f151ff307ca728e4ed
tree4cf29091db59fa8de2bcd04bb3b9101f06e3203b
parent12c7cf18c1637d305cdb109d5f4dfe7ae80084a1
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: 284a4eeae6b5 ("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