Message ID | 1537471099-19781-4-git-send-email-mathieu.poirier@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2375907ljw; Thu, 20 Sep 2018 12:18:30 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb3h6Z7X+AC0Dx5Lr2nl/S6yqShR1HVRXfRK5NlZ3dAthORQOiakeu19q8OasTnkZaMuywN X-Received: by 2002:a65:5304:: with SMTP id m4-v6mr38769580pgq.250.1537471110000; Thu, 20 Sep 2018 12:18:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537471109; cv=none; d=google.com; s=arc-20160816; b=dGe7cosSydEy3UwfBI0tuetm9xMEi3bB7re5+9O2X/smEzzh9paKdD3qDMKNw6wHGm HmGCQoCwdrNQTOswVsgCf2jxd4GGwCRVoPtkxm5hjPNChEaLh9fE7KMbZXdNKWPUSFII v1avcAGz47VlPzf6+lL3GPfEd902shi9Y2fyzPHNWjEm3YSVNz6MRS9S0x5pOMdpb681 3V3F/hI3DaKU3SMayRqaNmWJxCdRyXzGIJ2Y9Ju3FVnj9CTxUMWwJfDz3QV6QH7A6fZS Pl7AP06Akyj9nfPeCzKU5ROdfcGDGeUrBGfCil1Fstjom8x2Ng62POwqLD2wnfHUzWQa lTBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=DQ6AeLYKgMl29948+vO+BNj/3zw6RiFnxzOn0pmvo2w=; b=hy6SkhToWWn8hID1tHbZIMtb1GA3M30lZEV3RB14gyfffDVl65kwTZHQQTcCNwcGy+ +s4MxYP4RaLhjm9jr8xXfTvZS12kNYxXw1fv4ouJshRMrYc6jsFFB2poT9GNd5uxcMsK Tzb51ZEugRjfbXWyq9h5AOkJR0NJWTFHvC4ECOmNE0Aelxhi2G0fEhutY6QdsQ61nosM E3N5XgYs+cYxl9bGUJGgTkMwuARbku3lC2KvEZ0X0Z+5V0hFlfToaf2mBwR2g7TS+RsG 2S8FJmU7gRZ2/Z3DdxIyqvoAm63JODLDzRtLN+BxvuPUahF3bWjvZyFlo0NnQf3Myn70 u0HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W8aAZlC5; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j15-v6si24208207pgm.502.2018.09.20.12.18.29; Thu, 20 Sep 2018 12:18:29 -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=@linaro.org header.s=google header.b=W8aAZlC5; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388646AbeIUBDZ (ORCPT <rfc822;igor.opaniuk@linaro.org> + 32 others); Thu, 20 Sep 2018 21:03:25 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:42194 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388617AbeIUBDY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 20 Sep 2018 21:03:24 -0400 Received: by mail-pg1-f196.google.com with SMTP id y4-v6so4874853pgp.9 for <linux-kernel@vger.kernel.org>; Thu, 20 Sep 2018 12:18:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DQ6AeLYKgMl29948+vO+BNj/3zw6RiFnxzOn0pmvo2w=; b=W8aAZlC5ejzWl3bXMcYMponk+ydOQp/GrRVqdwtCF4bWGfFl+Xn487HB7B43L1jNke W2l7wP95SCU/Alscsv/SqryhVZJPu3YmflQi7r4qFwkZ8PGH+M46fJglrGEP4ylXNKPk W09/QfHEnh4W0w7OEnAm/JxaZOZ2BzGMlttb4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DQ6AeLYKgMl29948+vO+BNj/3zw6RiFnxzOn0pmvo2w=; b=dNXv0liPY+uN/Gawz//jFTBGETdyvaiqwYlQB4ooy9XeWtfHXnglv8Vo2txdx6qYNy H5ww1jkS7UpG0/Cs7ikPi7uMJmZoh5wF+druaxM2i/DAcpvhyoq7was3pLPEKqNZPi6g Ew+iPSkKB9DRebe9z8M0s9KT/x+2Eh1+62v2N+PTsPbd9bzzAm1mK0y4G5f8IyMRGrIN VqeVEG0ME1XbGU5EVJe+DQUtzICgRassPjm3iLRZbBJD4hWkiCg1cpgRgLfxYcxhQMyE GprKwHDMVVKOT1kWw6NFD8o3s7yHpM8IdZiXNZzTiaR0G48PzsoWwoAGq0ALPZn/lRaG ownQ== X-Gm-Message-State: APzg51B1IAI7NwybVZqg7X5ku673lz8OHVvU80xPue6HszoAlfDjddGb Eboy9IMN5d6KCS6xWHmVFvkT/Q== X-Received: by 2002:a62:5cc1:: with SMTP id q184-v6mr43397619pfb.241.1537471105761; Thu, 20 Sep 2018 12:18:25 -0700 (PDT) Received: from localhost.localdomain ([209.121.128.187]) by smtp.gmail.com with ESMTPSA id k13-v6sm4424443pgf.37.2018.09.20.12.18.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Sep 2018 12:18:24 -0700 (PDT) From: Mathieu Poirier <mathieu.poirier@linaro.org> To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 03/44] coresight: platform: Fix refcounting for graph nodes Date: Thu, 20 Sep 2018 13:17:38 -0600 Message-Id: <1537471099-19781-4-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1537471099-19781-1-git-send-email-mathieu.poirier@linaro.org> References: <1537471099-19781-1-git-send-email-mathieu.poirier@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
coresight: next v4.19-rc4
|
expand
|
diff --git a/drivers/hwtracing/coresight/of_coresight.c b/drivers/hwtracing/coresight/of_coresight.c index 70205f3eae8e..28d3aef1660b 100644 --- a/drivers/hwtracing/coresight/of_coresight.c +++ b/drivers/hwtracing/coresight/of_coresight.c @@ -168,6 +168,11 @@ static int of_coresight_parse_endpoint(struct device *dev, ret = 1; } while (0); + if (rparent) + of_node_put(rparent); + if (rport) + of_node_put(rport); + return ret; }