These changes addresses kernel warnings which shows up after enabling debug kernel. First one fixes use-after-free warning and second fixes warning by updating cdev APIs Sujit Kautkar (2): rpmsg: glink: Fix use-after-free in qcom_glink_rpdev_release() rpmsg: glink: Update cdev add/del API in rpmsg_ctrldev_release_device() drivers/rpmsg/qcom_glink_native.c | 5 ++++- drivers/rpmsg/rpmsg_char.c | 5 ++--- 2 files changed, 6 insertions(+), 4 deletions(-) -- 2.31.0