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 Changes in v3: - Clear ept pointers in patch 1 - Remove error check in patch 2 Changes in v2: - Fix typo in commit message 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 | 12 ++++++++++-- drivers/rpmsg/rpmsg_char.c | 10 ++-------- 2 files changed, 12 insertions(+), 10 deletions(-) -- 2.31.0