Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3786568ybi; Mon, 29 Jul 2019 12:36:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqw4pwIvGPfzzxOgKFtvyHt0LotG4MUGFZplw1VCXoxFVZn6ywAJFHW17fNwC/4JvkxJMkg2 X-Received: by 2002:a63:d04e:: with SMTP id s14mr100761511pgi.189.1564428968436; Mon, 29 Jul 2019 12:36:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564428968; cv=none; d=google.com; s=arc-20160816; b=V5w3ALJyXC7ZsMaRnALOROAQwOuE5vOYe75E3R+gsWoMCe+nNjt37QcPioy4WhdYAH zICf3SAzDZVYnHcXrv+2DFTsASLd9a9soEjLiZTnqFVxp6Xl3TK/eex/ix4LDAUzaWP4 8WMaWhpaFeYmD/ICkP5Z3psKPODliC7Om0KC7AwAyvYqWhj9ipWQa4JDEx9tmEKEYeQw 2eXx9X3rR1s9sLIyZEZaxo8xP42bXkT6MCFaL2JFSWPtnJG6N+pQ4ah5ujNQsnHvgJWt Wos2htx/lcXHkK16iidNNyTcJd58LW0s4gRjTxnTbKbgBXeV1Gfk8o3xWTlUGZAEdEFn fyaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=5GzliDJdAIgfQjaGGvuyAaA5FpZq63bGLR/1KlMWTag=; b=K5IZrjI8V1DYRTSC2V0aL9SD6aLaEsaBZ2potrOq0N2PaCModEnRfHpEf+ExYvB/cu wWCjNk0GThzH/OfG2o97UtPfdjmLbsCFwtEAy4PG6XemJve45cqPw6+oCEt3wxaUAx/w 0TEYa9BrC0EsBdz2qrO6YQiCDX8D6p65o/AwmjLJQ7nbUDSj4XVOYtqccbkwcPJJHokM MyeDQjLHRYgO77WAE1TzneJWM1PJve6Q1HCi+NiK1R1cpZt+NM0LVUvs9knBsl6eJ38b k4dlFGBY5WmgvxnDd4ZBgasBUPp0A9IL9Es+dF7eKVKtBG353BEDR560I08RDKwYuzMw xO0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UOrGaiKo; 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 64si27523517plw.379.2019.07.29.12.35.53; Mon, 29 Jul 2019 12:36:08 -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=UOrGaiKo; 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 S2388251AbfG2TeM (ORCPT + 99 others); Mon, 29 Jul 2019 15:34:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:48528 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388219AbfG2TeI (ORCPT ); Mon, 29 Jul 2019 15:34:08 -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 76384217D7; Mon, 29 Jul 2019 19:34:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564428848; bh=wbyM6RbvZIQm3+NgUtFet8W7UaelmwWaworHQg34nyQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UOrGaiKo5s9nLLZ0WpdMN6lJRFM+UlIlypQ/Zml8QlTfouIbVuzwHRTkCgW2kzGLW 58G+M+aIVOwPxdmNHG7OJ5oV7brdLspzfhp8OkIQlspe3U7PrqisYDRQz9yocm0eye FhvknBwIbtbjqboS6pPUBK7GpgUI0Yk8RD6ELkik= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?J=C3=A9r=C3=B4me=20Glisse?= , =?UTF-8?q?Christian=20K=C3=B6nig?= , Daniel Vetter , Sumit Semwal , linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, =?UTF-8?q?St=C3=A9phane=20Marchesin?= Subject: [PATCH 4.14 205/293] dma-buf: balance refcount inbalance Date: Mon, 29 Jul 2019 21:21:36 +0200 Message-Id: <20190729190840.168417823@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190729190820.321094988@linuxfoundation.org> References: <20190729190820.321094988@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jérôme Glisse commit 5e383a9798990c69fc759a4930de224bb497e62c upstream. The debugfs take reference on fence without dropping them. Signed-off-by: Jérôme Glisse Cc: Christian König Cc: Daniel Vetter Cc: Sumit Semwal Cc: linux-media@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linaro-mm-sig@lists.linaro.org Cc: Stéphane Marchesin Cc: stable@vger.kernel.org Reviewed-by: Christian König Signed-off-by: Sumit Semwal Link: https://patchwork.freedesktop.org/patch/msgid/20181206161840.6578-1-jglisse@redhat.com Signed-off-by: Greg Kroah-Hartman --- drivers/dma-buf/dma-buf.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/dma-buf/dma-buf.c +++ b/drivers/dma-buf/dma-buf.c @@ -1115,6 +1115,7 @@ static int dma_buf_debug_show(struct seq fence->ops->get_driver_name(fence), fence->ops->get_timeline_name(fence), dma_fence_is_signaled(fence) ? "" : "un"); + dma_fence_put(fence); } rcu_read_unlock();