Home
last modified time | relevance | path

Searched hist:"8066 c615cb69b7da8a94f59379847b037b3a5e46" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/rpmsg/
H A Drpmsg_core.cdiff 8066c615cb69b7da8a94f59379847b037b3a5e46 Mon Dec 06 13:07:58 CST 2021 Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> rpmsg: core: Clean up resources on announce_create failure.

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: 5e619b48677c ("rpmsg: Split rpmsg core and virtio backend")
Suggested-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20211206190758.10004-1-arnaud.pouliquen@foss.st.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>