-
由 Arnaud Pouliquen 提交于
During the rpmsg_dev_probe, if rpdev->ops->announce_create returns an error, the rpmsg device and default endpoint should be freed before exiting the function. Fixes: 5e619b48 ("rpmsg: Split rpmsg core and virtio backend") Suggested-by: NBjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: NArnaud Pouliquen <arnaud.pouliquen@foss.st.com> Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20211206190758.10004-1-arnaud.pouliquen@foss.st.comSigned-off-by: NMathieu Poirier <mathieu.poirier@linaro.org>
8066c615