Re: [PATCH v2 0/4] remoteproc: core: Fixes for rproc cdev and add

From: Bjorn Andersson
Date: Mon Jun 14 2021 - 16:59:20 EST


On Mon 14 Jun 15:40 CDT 2021, Siddharth Gupta wrote:

> This patch series contains stability fixes and error handling for remoteproc.
>

Thanks for respinning this Sid, I think patch 3 looks good now as well,
but it seems you accidentally got an additional file in the same patch.

Can you please fix that up and resend the patches?

Regards,
Bjorn

> The changes included in this series do the following:
> Patch 1: Fixes the creation of the rproc character device.
> Patch 2: Validates rproc as the first step of rproc_add().
> Patch 3: Fixes the rproc cdev remove and the order of dev_del() and cdev_del().
> Patch 4: Adds error handling in rproc_add().
>
> v1 -> v2:
> - Added extra patch which addresses Bjorn's comments on patch 3
> from v1.
> - Fixed commit text for patch 2 (s/calling making/making).
>
> Siddharth Gupta (4):
> remoteproc: core: Move cdev add before device add
> remoteproc: core: Move validate before device add
> remoteproc: core: Fix cdev remove and rproc del
> remoteproc: core: Cleanup device in case of failure
>
> 0000-cover-letter.patch.backup | 26 ++++++++++++++++++++++++++
> drivers/remoteproc/remoteproc_cdev.c | 2 +-
> drivers/remoteproc/remoteproc_core.c | 27 ++++++++++++++++++---------
> 3 files changed, 45 insertions(+), 10 deletions(-)
> create mode 100644 0000-cover-letter.patch.backup
>
> --
> Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
>