Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp213294yba; Fri, 12 Apr 2019 02:00:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwcM6PiLHyRShAcWwJy6VWPRYHrVtSUC2smVaCgHQq1HFVtBtubsPfgzAS8FYbNEvmOkz0A X-Received: by 2002:a63:c046:: with SMTP id z6mr49092771pgi.81.1555059612746; Fri, 12 Apr 2019 02:00:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555059612; cv=none; d=google.com; s=arc-20160816; b=w2NoPQt3WAmsHruC9CaMPmaMcmWXtl7Scqn3CIljlo+znD5MzlM9oUX6VFqrGju1uP diPc/hH03tLoBy8oyW9m+iN5LM9lXeNX5OiJXFA/waEIGWMpPOxQ4XnbR/w0/FGJ9Y06 FWPBWbWqlqTXsdFUhT8tUNbkIRwxTk2OCuKDAiovrdzw+h36cWsBUoP0eRb3OGenwGKJ 1HcmV2PwUDjwiFfbk2fkJbASqI72fXFaDM6Au2fiJP+jVijfcFWU0UQOtH5MMc/Xix9v tyluN2bIpcZnx0nca1HmwVXUDgD5PUim8Be0oXPCDn7A1eqRyT502a+Z/PZdkR12OiE4 DGhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=FLypQh1vwDkAkn3+xUsvhtGOY+mccLHxajoz6YWhozw=; b=Jf22z7yYuZ39HS3Xl+yAsB9xUu7P/zd95NBvbeIYsqmn1aA4+CgGgNXLRkTE2fFz73 YKwT/wx05aT+NcY4IS1b8RV/8JCRG7kjEL6oF3rbqXrB95aJfGl/EuQJHTnOZctCBiLn XyhBAPPpDEZmvWxrnXdrxrqYxkqxxTbThmLjU6WoAuNSc290EAu/g3ZyLLnSY4BqOYlw UVC+zyI20oCjN+DN09/yZYvIPKJZPI92C5FmAefr3ORjcMgd1DquQR6XkrkhczJ72zQl 3jFh3nxB7QmQW3tF8gwIMWiOMbR3Qqt51zctf+X6TInON6fdvnETHOKIdgMl5m7XU/5r 7G6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=gyYVWNrM; 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 h11si39457944plk.270.2019.04.12.01.59.56; Fri, 12 Apr 2019 02:00:12 -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=@st.com header.s=STMicroelectronics header.b=gyYVWNrM; 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 S1727986AbfDLI6y (ORCPT + 99 others); Fri, 12 Apr 2019 04:58:54 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:45896 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727859AbfDLI6w (ORCPT ); Fri, 12 Apr 2019 04:58:52 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3C8s5jg023816; Fri, 12 Apr 2019 10:58:48 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=STMicroelectronics; bh=FLypQh1vwDkAkn3+xUsvhtGOY+mccLHxajoz6YWhozw=; b=gyYVWNrMzhIRvS4K0YvTtSttqc5uoolfDqNlIXQxmKFG749QCnpp9yhF2yXJl20rCliN iV8gPw0UPfgZS8XYePI/Fb9OfZeG2xBgaXnZfBmLQ0xwUeF+mS/Hb9UljF3qMSrgToON 4QiGBvsuSTbgfg6t72Djla81M4SMTLDiOgHwwKhTxZFIGfBsX3xu5ZsOdQoMN/hVsYCL RleAzzFxAbFM78/GTmgUQ+5fzFGuvzLzOqgMgkksD/Z1MOiTOYceIA324/D197Fnr3jd kjjZz7AX4e7nVg15t0wULKN2fOOFxrn9GIcYYJ2eU16hF26V+/oAKdtSVFs7o2woI+Uu Xg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2rpr7x40aw-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 12 Apr 2019 10:58:43 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 90D4B14D; Fri, 12 Apr 2019 08:57:04 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node2.st.com [10.75.127.17]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 644D11464; Fri, 12 Apr 2019 08:57:04 +0000 (GMT) Received: from SFHDAG6NODE3.st.com (10.75.127.18) by SFHDAG6NODE2.st.com (10.75.127.17) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 12 Apr 2019 10:57:04 +0200 Received: from SFHDAG6NODE3.st.com ([fe80::d04:5337:ab17:b6f6]) by SFHDAG6NODE3.st.com ([fe80::d04:5337:ab17:b6f6%20]) with mapi id 15.00.1347.000; Fri, 12 Apr 2019 10:57:04 +0200 From: Patrice CHOTARD To: Wen Yang , "linux-kernel@vger.kernel.org" CC: "wang.yi59@zte.com.cn" , Linus Walleij , "linux-gpio@vger.kernel.org" Subject: Re: [PATCH 3/5] pinctrl: st: fix leaked of_node references Thread-Topic: [PATCH 3/5] pinctrl: st: fix leaked of_node references Thread-Index: AQHU8PUz9mCJWHkZl0Kqzp1bHR0BiqY4F/IA Date: Fri, 12 Apr 2019 08:57:03 +0000 Message-ID: <09d160d1-fb0a-1cdb-77af-aeeebfaa69a7@st.com> References: <1555048943-39589-1-git-send-email-wen.yang99@zte.com.cn> <1555048943-39589-4-git-send-email-wen.yang99@zte.com.cn> In-Reply-To: <1555048943-39589-4-git-send-email-wen.yang99@zte.com.cn> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.51] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-04-12_06:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgV2VuDQoNCk9uIDQvMTIvMTkgODowMiBBTSwgV2VuIFlhbmcgd3JvdGU6DQo+IFRoZSBjYWxs IHRvIG9mX2dldF9jaGlsZF9ieV9uYW1lIHJldHVybnMgYSBub2RlIHBvaW50ZXIgd2l0aCByZWZj b3VudA0KPiBpbmNyZW1lbnRlZCB0aHVzIGl0IG11c3QgYmUgZXhwbGljaXRseSBkZWNyZW1lbnRl ZCBhZnRlciB0aGUgbGFzdA0KPiB1c2FnZS4NCj4gDQo+IERldGVjdGVkIGJ5IGNvY2NpbmVsbGUg d2l0aCB0aGUgZm9sbG93aW5nIHdhcm5pbmdzOg0KPiAuL2RyaXZlcnMvcGluY3RybC9waW5jdHJs LXN0LmM6MTE4ODozLTk6IEVSUk9SOiBtaXNzaW5nIG9mX25vZGVfcHV0OyBhY3F1aX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