Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1242938imm; Wed, 23 May 2018 12:40:32 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrg+YhHFD9kJm6WkOsqErwHGlR0+Jd2ztfZd80LcH6TR3L6h7ido8kzxW0wZRmpmzv1Qda+ X-Received: by 2002:a17:902:b08f:: with SMTP id p15-v6mr4175818plr.36.1527104432146; Wed, 23 May 2018 12:40:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527104432; cv=none; d=google.com; s=arc-20160816; b=0oA25GbZADET8idcMU2fePNEhmqJZ8km1htlpmuvLwdUe65EY2ogq6zG6490Dj1vpW PDv1LNlH36ECPn2lEoxyA3bAv0VQ4lOOYBQZW2nYTqdghbVFEQNr3SP/A69+Q0xwabDG rd/Llr2hIXpNSEpI6oe1kpF6twTpxS7LaSyrS0yVh900CYtgjeeBw8Oms7A02Ey95A6i +j9Fidc/RVFE5euB3LgLryQFBR7ejc/kSe6H0tSGvz6N40kqyyZ4gNcnHwHt7QdaKW0E 48kPvk9LJHyxO++Z1I//jodQrPcxXGipd2zDl9fvJP6xVMfyCvpOWIZe38DSOCQXVX2v Ye+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=DdAjsKI1plRiAfTAuNSik+8RxZJif3x9zf6DvIWbAr8=; b=pXJ7mBe1GFdA6Wn1nDxFCSpxeA8m3fxD/7tUwYKS4pckRqHHXwa5R7gkIeVPuMg8xE OWf4Aqxla6tJAw0lCY4pHKxSqQHssCrYqHjg8klk2OimVgLQAFQrwhwY75Clx2Ce0R4C WZumlOqrF+Xm9JG0TUO8s5rO3sE+P1rYEHyZnYXBVP/MsWux1kSQqLjVfwPmkvBoTDyF sYNgPD2WhuPzZ3DyCn/kzdb9Xg9xevmsj1ahZ7jPqZLzBggp/5nlQ3vpwIlwANWnuKg0 njWeowK4G+p4qChxn1um/kHFEhH0ViE/PX16M/o9G3pCB34LwbuDlc8u91tEvEZLBtCl ZHmw== ARC-Authentication-Results: i=1; mx.google.com; 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 h12-v6si21266447plt.494.2018.05.23.12.40.17; Wed, 23 May 2018 12:40:32 -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; 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 S934315AbeEWTjC (ORCPT + 99 others); Wed, 23 May 2018 15:39:02 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:30112 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934223AbeEWTjA (ORCPT ); Wed, 23 May 2018 15:39:00 -0400 X-IronPort-AV: E=Sophos;i="5.49,434,1520895600"; d="scan'208";a="328129389" Received: from palace.lip6.fr (HELO localhost.localdomain) ([132.227.105.202]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES128-SHA256; 23 May 2018 21:38:58 +0200 From: Julia Lawall To: linux-pci@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org Subject: [PATCH 0/5] add missing of_node_put Date: Wed, 23 May 2018 21:07:11 +0200 Message-Id: <1527102436-13447-1-git-send-email-Julia.Lawall@lip6.fr> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The device node iterators perform an of_node_get on each iteration, so a jump out of the loop requires an of_node_put. --- drivers/gpu/drm/rockchip/rockchip_lvds.c | 4 +++- drivers/pci/hotplug/pnv_php.c | 8 ++++++-- drivers/phy/hisilicon/phy-hisi-inno-usb2.c | 9 +++++++-- drivers/pinctrl/pinctrl-at91-pio4.c | 4 +++- drivers/soc/ti/knav_dma.c | 1 + 5 files changed, 20 insertions(+), 6 deletions(-)