From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([92.198.50.35]:41126 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751133AbaKCKCo (ORCPT ); Mon, 3 Nov 2014 05:02:44 -0500 Message-ID: <1415008955.3060.10.camel@pengutronix.de> Subject: Re: [PATCH v5 1/6] of: Decrement refcount of previous endpoint in of_graph_get_next_endpoint From: Philipp Zabel To: Guennadi Liakhovetski , Mauro Carvalho Chehab Cc: Greg Kroah-Hartman , Grant Likely , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, devel@driverdev.osuosl.org, Laurent Pinchart , Russell King , kernel@pengutronix.de Date: Mon, 03 Nov 2014 11:02:35 +0100 In-Reply-To: <1412064370.3692.1.camel@pengutronix.de> References: <1412013819-29181-1-git-send-email-p.zabel@pengutronix.de> <1412013819-29181-2-git-send-email-p.zabel@pengutronix.de> <20140929221042.GA9895@kroah.com> <1412064370.3692.1.camel@pengutronix.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Hi Mauro, Guennadi, Am Dienstag, den 30.09.2014, 10:06 +0200 schrieb Philipp Zabel: > Am Montag, den 29.09.2014, 18:10 -0400 schrieb Greg Kroah-Hartman: > > On Mon, Sep 29, 2014 at 08:03:34PM +0200, Philipp Zabel wrote: > > > Decrementing the reference count of the previous endpoint node allows to > > > use the of_graph_get_next_endpoint function in a for_each_... style macro. > > > All current users of this function that pass a non-NULL prev parameter > > > (that is, soc_camera and imx-drm) are changed to not decrement the passed > > > prev argument's refcount themselves. > > > > > > Signed-off-by: Philipp Zabel > > > --- > > > Changes since v4: > > > - Folded patches 1-3 into this one > > > --- > > > drivers/media/platform/soc_camera/soc_camera.c | 3 ++- > > > drivers/of/base.c | 9 +-------- > > > drivers/staging/imx-drm/imx-drm-core.c | 12 ++---------- > > > 3 files changed, 5 insertions(+), 19 deletions(-) > > > > No objection from me for this, but Grant is in "charge" of > > drivers/of/base.c, so I'll leave it for him to apply. > > > > Acked-by: Greg Kroah-Hartman > > Thank you. Guennadi, Mauro, could I get your ack on the soc_camera part? I'd really like to get this series merged through Grant's tree, but since it touches the soc_camera core, could you please give me an ack for this? regards Philipp