Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpmsg: rpmsg_create_ept() returns NULL on error
The parameter validation incorrectly returned an ERR_PTR(), which is not handled by the callers to rpmsg_create_ept(), per the definition NULL should be returned. Fixes: 93e9324 ("rpmsg: Handle invalid parameters in public API") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]>
- Loading branch information