Skip to content
Commit 14d963d1 authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Tom Rini
Browse files

remoteproc: elf_loader: Always check the validity of the image before loading



rproc_elf32_load_image() rely on user to send a valid address for elf loading.
Instead do a sanity check on the address passed by user. This will help
all rproc elf users to not call sanity_check explicitly before calling
elf_loading.

Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: default avatarFabien Dessenne <fabien.dessenne@st.com>
parent c08eb936
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment