mbox series

[v3,0/4] remoteproc: Refactor function rproc_alloc()

Message ID 20200420231601.16781-1-mathieu.poirier@linaro.org (mailing list archive)
Headers show
Series remoteproc: Refactor function rproc_alloc() | expand

Message

Mathieu Poirier April 20, 2020, 11:15 p.m. UTC
These are the remaining patches from the second version [1] that have
not been applied yet.

Applies cleanly on rproc-next (3898fc99d199)

Thanks,
Mathieu

New for V3:
- Freeing firmware name allocation with kfree_const() in patch 1.
- Get the comment out of the conditional block in patch 2. 
- A cleaner implementation of function rproc_alloc_ops() in patch 3.

New for V2:
- Reworked title for patch 01.
- Added "Fixes" tag to patch 01.
- Using kasprintf() instead of complex memory allocation.
- Using kstrdup_const() instead of kstrdup(). 
- Reworked rproc_alloc_firmware() to use non-negative form. 

[1]. https://patchwork.kernel.org/project/linux-remoteproc/list/?series=271809

Mathieu Poirier (4):
  remoteproc: Use kstrdup_const() rather than kstrdup()
  remoteproc: Restructure firmware name allocation
  remoteproc: Split rproc_ops allocation from rproc_alloc()
  remoteproc: Get rid of tedious error path

 drivers/remoteproc/remoteproc_core.c | 70 +++++++++++++++-------------
 include/linux/remoteproc.h           |  2 +-
 2 files changed, 39 insertions(+), 33 deletions(-)

Comments

patchwork-bot+linux-remoteproc@kernel.org April 21, 2020, 3:20 a.m. UTC | #1
Hello:

This series was applied to andersson/remoteproc.git (refs/heads/for-next).

On Mon, 20 Apr 2020 17:15:57 -0600 you wrote:
> These are the remaining patches from the second version [1] that have
> not been applied yet.
> 
> Applies cleanly on rproc-next (3898fc99d199)
> 
> Thanks,
> Mathieu
> 
> [...]


Here is a summary with links:
  - [v3,1/4] remoteproc: Use kstrdup_const() rather than kstrdup()
    https://git.kernel.org/andersson/remoteproc/c/1487deda19c82d30d1867277e89bc2d515b9d2d4
  - [v3,2/4] remoteproc: Restructure firmware name allocation
    https://git.kernel.org/andersson/remoteproc/c/9d5f82c8ba2471e34150a0e750ef54089e2a3740
  - [v3,3/4] remoteproc: Split rproc_ops allocation from rproc_alloc()
    https://git.kernel.org/andersson/remoteproc/c/bf860aa176d0104cfbaf863acbadf5548f1172c2
  - [v3,4/4] remoteproc: Get rid of tedious error path
    https://git.kernel.org/andersson/remoteproc/c/226f5db4212438cdfe1a94652d74c6c01788a837

You are awesome, thank you!