Skip to content

Fixes and rework of rpmsg_eptdev_add()

Dawei Li linux-remoteproc lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 5 repliesIn review
  2. v33 patches 6 repliesSuperseded

Changes in v4 from the cover letter

- Re-layout the patches in series
1/3: Fix potential WARN In error patch of rpmsg_eptdev_add(). 2/3: Rework exception handling of rpmsg_eptdev_add() and callers. 3/3: Merge branches in rpmsg_eptdev_add().
Link to v3:
https://lore.kernel.org/all/[email protected]/

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rpmsg: char: Fix WARN() in error path of rpmsg_eptdev_add()drivers/rpmsg/rpmsg_char.c+13 -134 replies
2/3rpmsg: char: Rework of rpmsg_eptdev_add() and its callersdrivers/rpmsg/rpmsg_char.c+15 -111 reply
3/3rpmsg: char: Merge cdev branches in rpmsg_eptdev_add()drivers/rpmsg/rpmsg_char.c+6 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/3] Fixes and rework of rpmsg_eptdev_add()

This is V4 of series fixing fallout introduced by anonymous inode eptdev code and rework the exception handing paths.

And it tries to address a long suffering issue related to WARN() in error path.

Change for v4:
- Re-layout the patches in series
1/3: Fix potential WARN In error patch of rpmsg_eptdev_add(). 2/3: Rework exception handling of rpmsg_eptdev_add() and callers. 3/3: Merge branches in rpmsg_eptdev_add().
Link to v3:
https://lore.kernel.org/all/[email protected]/

Change for v3:
- Split it into 3 patches:
1/3: Fix legacy bug.
2/3: Fix new bug introduced by anonymous eptdev code. 3/3: Rework error handling code.
Link to v2:
https://lore.kernel.org/all/[email protected]/

Change for v2:
- Add put_device() when __rpmsg_eptdev_open() failed. Link to v1:
https://lore.kernel.org/all/[email protected]/

Dawei Li (3):
rpmsg: char: Fix WARN() in error path of rpmsg_eptdev_add()
rpmsg: char: Rework of rpmsg_eptdev_add() and its callers
rpmsg: char: Merge cdev branches in rpmsg_eptdev_add()

 drivers/rpmsg/rpmsg_char.c | 60 ++++++++++++++++++++------------------
 1 file changed, 31 insertions(+), 29 deletions(-)
Signature · 1 line
2.25.1