Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp677038ybi; Fri, 21 Jun 2019 06:23:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfu9FlK58s91GWDz5BxX2C77PQhbaNr7Oj+Xg1lSaCpYKjLhBZHOhwfvkgmbJAgweSqFSr X-Received: by 2002:a63:6981:: with SMTP id e123mr18179296pgc.136.1561123384482; Fri, 21 Jun 2019 06:23:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561123384; cv=none; d=google.com; s=arc-20160816; b=WwrSp0IuxM/1W+FxOHIUaVr7fME2KiNjFpBZ26WjkZzYfoYtrrURrUZC/E/2sUTQjq 7b3owU6dwPwYnFGLO+Ld9Czz0R7XXa/bLLxIvjiHOMKXEZaLerPDF42M64IgI9VA94Fa 4JNcma6Mqu7RJfOgCOHER8tuSQPd+fwXxyVgoq/LExcl23uG7pb5HDuxRa/411lgyHms VQfeZg5T/irpNDV8Y0VXT2zpF+MZHUsIH6u5xktj244isKyG5tSo0fWQ6YmmIqExMtUU SZE5oL7AQajLTPIkLQzvy8IOm6zTwIjEAxGMnYGOEeCcEcWGLrtf+uUhNxL+nndfUSP6 FihA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=TPfyNRYjKDSBrhnTHmBi/zHbXsteD9MWReYYIuc8Gc8=; b=YDlf5s5ZsIspxcgHxnCXgNPUz7jP54WJkVE5OdJh4J5KllcPiaGcsWxAT6krfQkGxN K4WpksA8ubz7nlY/dyWrbh3N8UXa3MXEwe3uebU0zLHvA7wNzeX0JeDmh0rkRxMLb1Ch Fynjc/a4k9PmA7PZn7DI3tfpkY5/8h1AWmfHiXodI1Y9S/arH1DEnVw97Ikz+vvBgYuq Bxf2DD09x+7E88IvzWxnURyZjZSTQwznWQd0XqRV2l06q/UN8s8Wdt9RPOcrmo6T7NAK wmjB92SdkT/3P7Kn6F+F8XgBGpVQq7WbtX6hEr83Uwev3VM4Z1+9VkWZPWeUOP74UPoA eIIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nTGi4uI1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a21si2480736pgj.455.2019.06.21.06.22.48; Fri, 21 Jun 2019 06:23:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nTGi4uI1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726062AbfFUNWo (ORCPT + 99 others); Fri, 21 Jun 2019 09:22:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:34540 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725958AbfFUNWo (ORCPT ); Fri, 21 Jun 2019 09:22:44 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1F20A208C3; Fri, 21 Jun 2019 13:22:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561123363; bh=KeuBGoyqtWLkZ0dpNAnEYBwnJjXyrdfhDld4K6wo/qU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nTGi4uI1y5XbxwFSshMgvoGUJ5ogb4t8jRt8fp50ZIZ9c5c6r0fAKUKYgSf9eQ7cI 0CSyd2jJoHGuOAhPj7aQ3uHD0jSXJh3Ps6io05ywTZ+0bxFcJFZ+6ID5bgnudxhknW KjwGD5bDRAbERhQmN/dipIx+1uVCyjsAEBVKtWp8= Date: Fri, 21 Jun 2019 15:22:41 +0200 From: Greg KH To: Matthias Brugger Cc: minghsiu.tsai@mediatek.com, houlong.wei@mediatek.com, andrew-ct.chen@mediatek.com, mchehab@kernel.org, djkurtz@chromium.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] [media] media: mtk-mdp: fix reference count on old device tree Message-ID: <20190621132241.GC10459@kroah.com> References: <20190621113250.4946-1-matthias.bgg@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190621113250.4946-1-matthias.bgg@gmail.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 21, 2019 at 01:32:50PM +0200, Matthias Brugger wrote: > of_get_next_child() increments the reference count of the returning > device_node. Decrement it in the check if we are using the old or the > new DTB. > > Fixes: ba1f1f70c2c0 ("[media] media: mtk-mdp: Fix mdp device tree") > Signed-off-by: Matthias Brugger > --- > drivers/media/platform/mtk-mdp/mtk_mdp_core.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.