mbox series

[v3,0/2] Fix two kernel warnings in glink driver

Message ID 20211102235147.872921-1-sujitka@chromium.org (mailing list archive)
Headers show
Series Fix two kernel warnings in glink driver | expand

Message

Sujit Kautkar Nov. 2, 2021, 11:51 p.m. UTC
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(-)