All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] remoteproc: Refactor function rproc_alloc()
@ 2020-04-20 23:15 Mathieu Poirier
  2020-04-20 23:15 ` [PATCH v3 1/4] remoteproc: Use kstrdup_const() rather than kstrdup() Mathieu Poirier
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Mathieu Poirier @ 2020-04-20 23:15 UTC (permalink / raw)
  To: bjorn.andersson, ohad
  Cc: elder, s-anna, Markus.Elfring, linux-remoteproc, linux-kernel

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(-)

-- 
2.20.1

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-04-21  3:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-20 23:15 [PATCH v3 0/4] remoteproc: Refactor function rproc_alloc() Mathieu Poirier
2020-04-20 23:15 ` [PATCH v3 1/4] remoteproc: Use kstrdup_const() rather than kstrdup() Mathieu Poirier
2020-04-21  1:56   ` Bjorn Andersson
2020-04-21  1:56     ` Bjorn Andersson
2020-04-21  1:56       ` Bjorn Andersson
2020-04-20 23:15 ` [PATCH v3 2/4] remoteproc: Restructure firmware name allocation Mathieu Poirier
2020-04-21  1:56   ` Bjorn Andersson
2020-04-21  1:56     ` Bjorn Andersson
2020-04-21  1:56       ` Bjorn Andersson
2020-04-20 23:16 ` [PATCH v3 3/4] remoteproc: Split rproc_ops allocation from rproc_alloc() Mathieu Poirier
2020-04-21  1:57   ` Bjorn Andersson
2020-04-21  1:57     ` Bjorn Andersson
2020-04-21  1:57       ` Bjorn Andersson
2020-04-20 23:16 ` [PATCH v3 4/4] remoteproc: Get rid of tedious error path Mathieu Poirier
2020-04-21  2:01   ` Bjorn Andersson
2020-04-21  2:01     ` Bjorn Andersson
2020-04-21  2:01       ` Bjorn Andersson
2020-04-21  3:20 ` [PATCH v3 0/4] remoteproc: Refactor function rproc_alloc() patchwork-bot+linux-remoteproc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.