mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH 4/4] remoteproc: Get rid of tedious error path
@ 2020-04-14  8:53 Markus Elfring
  2020-04-14 12:27 ` Alex Elder
  0 siblings, 1 reply; 5+ messages in thread
From: Markus Elfring @ 2020-04-14  8:53 UTC (permalink / raw)
  To: Mathieu Poirier, linux-remoteproc
  Cc: linux-kernel, Alex Elder, Bjorn Andersson, Ohad Ben-Cohen, Suman Anna

…
> +++ b/drivers/remoteproc/remoteproc_core.c
> @@ -2105,11 +2104,8 @@ struct rproc *rproc_alloc(struct device *dev, const char *name,
> +out:
> +	put_device(&rproc->dev);

How do you think about to use the label “put_device”?

Regards,
Markus

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [PATCH 0/4] remoteproc: Refactor function rproc_alloc()
@ 2020-04-13 19:33 Mathieu Poirier
  2020-04-13 19:34 ` [PATCH 4/4] remoteproc: Get rid of tedious error path Mathieu Poirier
  0 siblings, 1 reply; 5+ messages in thread
From: Mathieu Poirier @ 2020-04-13 19:33 UTC (permalink / raw)
  To: bjorn.andersson, ohad; +Cc: s-anna, elder, linux-remoteproc, linux-kernel

Hi Bjorn,

Function rproc_alloc() had to be reworked as part of my work on MCU
synchronisation[1].  Concurrent to that Suman [2] and Alex [3] also did
some work on the same function.  

In order to provide a clean foundation for everyone to work from and avoid
unpleasant merge conflicts this set gathers the work that both Alex and I
did.  That way Suman and I can move forward with our respective patchsets
without too much headache.   

Applies cleanly on v5.7-rc1.

Thanks,
Mathieu

[1]. https://patchwork.kernel.org/project/linux-remoteproc/list/?series=261069
[2]. https://patchwork.kernel.org/patch/11456385/
[3]. https://patchwork.kernel.org/patch/11473241/ 

Alex Elder (1):
  remoteproc: Fix a bug in rproc_alloc()

Mathieu Poirier (3):
  remoteproc: Split firmware name allocation from rproc_alloc()
  remoteproc: Split rproc_ops allocation from rproc_alloc()
  remoteproc: Get rid of tedious error path

 drivers/remoteproc/remoteproc_core.c | 101 +++++++++++++++------------
 1 file changed, 58 insertions(+), 43 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2020-04-14 12:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-14  8:53 [PATCH 4/4] remoteproc: Get rid of tedious error path Markus Elfring
2020-04-14 12:27 ` Alex Elder
  -- strict thread matches above, loose matches on Subject: below --
2020-04-13 19:33 [PATCH 0/4] remoteproc: Refactor function rproc_alloc() Mathieu Poirier
2020-04-13 19:34 ` [PATCH 4/4] remoteproc: Get rid of tedious error path Mathieu Poirier
2020-04-13 20:56   ` Alex Elder
2020-04-13 20:56   ` Alex Elder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome