diff options
author | Ben Dooks (Codethink) <[email protected]> | 2019-10-17 12:59:52 +0100 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2019-11-08 17:20:47 -0800 |
commit | 99cf0361e7af29511309804bbedd240bf939cebd (patch) | |
tree | b0d47d4f73765e867a8cc4997a71d48627100734 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 1665cbd5731fa7c66103ec719c57922bbc457447 (diff) |
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 <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions