Skip to content
Commit 99cf0361 authored by Ben Dooks (Codethink)'s avatar Ben Dooks (Codethink) Committed by Bjorn Andersson
Browse files

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: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 1665cbd5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment