diff options
author | Ben Dooks (Codethink) <ben.dooks@codethink.co.uk> | 2019-10-17 14:59:52 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2019-11-09 04:20:47 +0300 |
commit | 99cf0361e7af29511309804bbedd240bf939cebd (patch) | |
tree | b0d47d4f73765e867a8cc4997a71d48627100734 /drivers/remoteproc/stm32_rproc.c | |
parent | 1665cbd5731fa7c66103ec719c57922bbc457447 (diff) | |
download | linux-99cf0361e7af29511309804bbedd240bf939cebd.tar.xz |
remoteproc: fix argument 2 of rproc_mem_entry_init
The rproc_mem_entry_init() call takes a pointer to a vm
as the second argument. The code is currently using a
plain 0 as "NULL". Change to using NULL to fix the
following sparse warnings:
drivers/remoteproc/remoteproc_core.c:339:49: warning: Using plain integer as NULL pointer
drivers/remoteproc/remoteproc_core.c:916:46: warning: Using plain integer as NULL pointer
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc/stm32_rproc.c')
0 files changed, 0 insertions, 0 deletions