[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3c2ea363-e60f-b3ef-e66f-df8d558972bf@linaro.org>
Date: Tue, 14 Apr 2020 07:27:39 -0500
From: Alex Elder <elder@...aro.org>
To: Markus Elfring <Markus.Elfring@....de>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
linux-remoteproc@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Ohad Ben-Cohen <ohad@...ery.com>, Suman Anna <s-anna@...com>
Subject: Re: [PATCH 4/4] remoteproc: Get rid of tedious error path
On 4/14/20 3:53 AM, Markus Elfring wrote:
> …
>> +++ 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”?
+1
>
> Regards,
> Markus
>
Powered by blists - more mailing lists