commit | fa04b769f2832bf1aeb2e04b8865f6b688a752fd | [log] [tgz] |
---|---|---|
author | Bjorn Andersson <bjorn.andersson@linaro.org> | Mon Feb 13 00:44:27 2017 -0800 |
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | Mon Feb 13 00:52:54 2017 -0800 |
tree | e2b55e83225bd8851d386ab91e813caa1850c57d | |
parent | 88e30752dd47f0a6398cd014af82332f1b9873ea [diff] |
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: 93e9324431c9 ("rpmsg: Handle invalid parameters in public API") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>