Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1570893ybl; Mon, 2 Dec 2019 05:24:22 -0800 (PST) X-Google-Smtp-Source: APXvYqxmyjE+MK8wEPDi3Py71R3bgm7r1xBVRr54Wvm/Pecq7A1irsA7je57JVhWAsnO+KSdmXaB X-Received: by 2002:a05:6402:1a4c:: with SMTP id bf12mr56364900edb.231.1575293062587; Mon, 02 Dec 2019 05:24:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575293062; cv=none; d=google.com; s=arc-20160816; b=lPb+rGceJbsUbxvGIdxBFZqbRlQKhDORIi2Ug4sSYsPcsCckCA+xVvYt4Ualtvxamd a68e5x+FEeaqxv5G66Oq3se7caYNM+bv/YHe33NJcBKwWW/6+ouVK1TfHAxhep3ljZ1j v2Z8LZKM/ZVKqFIoZ/YOv+kcPae/w4SpBOQoAdy876adcFm5pt9Cxyz30AqxYpHj1E/+ mLIOfOAuCnlJKaN0rPhkAQ7GqhzVE21nFwJMmPekOxTwJLEo3430PEmh927vF9yzaznN XytBlH3PW8LIBsA6q/fi0GpnFlZ+1OwldRIIk0inmiJSd4eHpHPUzqEqaDqBf0FyJYnK 08Dg== 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=e/Togba5U9ys+8oqJTXGaZUdpDWn0rAPQUQJmgN0SO0=; b=oQPOWSMKnrngwJjkL7prcIocZhovyaJsm410hfdD5/+GeP2CLR9cXnj5gAcs5gEm/u YFYYxfJqd+O4GEd/NfiSH9crq00No2rxxDK7ddCkD7dh7asCvWybcao5LKVcT00qy1Hs qAoWQhBhAggSARXXpCPKrRmDRsjYJ+mAJJhOfAKdrGu6CkkDKfjqF4hA1tz24uhHACz3 3rnxyInFCeHih89NBU3DYZncfWMtcV1facyKlhoc9Lg8cm7IeDHJFbHQCeKqxJzG2hm5 5ShBu4k0KfQEzsn7zr8ANPpKxpXEyGvIS3q9Gm2CWeX5jF/rgj8j9WcfZ/exNMwMh2QR kjzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=xjiDFUmN; 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=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e12si11487700eja.194.2019.12.02.05.23.58; Mon, 02 Dec 2019 05:24:22 -0800 (PST) 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=xjiDFUmN; 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=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727493AbfLBNWl (ORCPT + 99 others); Mon, 2 Dec 2019 08:22:41 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:58134 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727381AbfLBNWl (ORCPT ); Mon, 2 Dec 2019 08:22:41 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xB2DCk8P026461; Mon, 2 Dec 2019 14:22:15 +0100 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=e/Togba5U9ys+8oqJTXGaZUdpDWn0rAPQUQJmgN0SO0=; b=xjiDFUmNL8x0aNlPPh4I+U6OGwFIwBLTXy6g0AQPbagKm2qGswk+2ggHTZ2a8UsUtb2X nAwm5FaCrwh03iIfMRdTlMS+fKf56ZAGPa8pmTSlv7f0P5Ky74GRGah5on0gmZ6vkJaG YNzx7Pu0ZPcI5XBoyZIfU6vFtAMwT2du5F9PP6n2K6wBNjYrYLhruXTtK29hn1eRnYlI OOHhzEoCQQyzQF96dDgN8NZhdt4kb4PqggrM+TmjmefeL1rhydNdHGZHnsyx24umUg3y iacc5eHs9dIUDtYBNshxOjf6Gx9b3o+1ADV1BOgFYlzdK/fHZ3oqLNFsT83KvgjOLISk fg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2wkg6k9qtd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 02 Dec 2019 14:22:15 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1F43A100039; Mon, 2 Dec 2019 14:22:15 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node1.st.com [10.75.127.7]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 0BEF42C9D9B; Mon, 2 Dec 2019 14:22:15 +0100 (CET) Received: from SFHDAG5NODE3.st.com (10.75.127.15) by SFHDAG3NODE1.st.com (10.75.127.7) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 2 Dec 2019 14:22:14 +0100 Received: from SFHDAG5NODE3.st.com ([fe80::7c09:5d6b:d2c7:5f47]) by SFHDAG5NODE3.st.com ([fe80::7c09:5d6b:d2c7:5f47%20]) with mapi id 15.00.1473.003; Mon, 2 Dec 2019 14:22:14 +0100 From: Fabien DESSENNE To: Marc Zyngier , Daode Huang CC: "jason@lakedaemon.net" , "linux-kernel@vger.kernel.org" , "mcoquelin.stm32@gmail.com" , "tglx@linutronix.de" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , Alexandre TORGUE Subject: Re: [PATCH] irqchip/stm32: Fix "WARNING: invalid free of devm_ allocated Thread-Topic: [PATCH] irqchip/stm32: Fix "WARNING: invalid free of devm_ allocated Thread-Index: AQHVqRODxV7lpFAqyU+rnFWM+DebYg== Date: Mon, 2 Dec 2019 13:22:14 +0000 Message-ID: References: <1574931880-168682-1-git-send-email-huangdaode@hisilicon.com> <8acaa494701c91b8a8acd60a2390d810@www.loen.fr> <028744c349410eb1f74b7e2b18590c75@www.loen.fr> In-Reply-To: <028744c349410eb1f74b7e2b18590c75@www.loen.fr> 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.9.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.45] 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:6.0.95,18.0.572 definitions=2019-12-02_02:2019-11-29,2019-12-02 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgRGFvZGUsDQoNCg0KSSBjb25maXJtIHRoYXQgdGhpcyBwYXRjaCBpcyBub3QgYSBnb29kIGlk ZWEsIGhlcmUgYXJlIHNvbWUgZXhwbGFuYXRpb25zLg0KDQppcnEtc3RtMzItZXh0aS5jIGRlYWxz IHdpdGggdHdvIGRpZmZlcmVudCBwdXJwb3NlczoNCg0KLSBlaXRoZXIgaXQgaXMgdXNlZCB0byBw cm9iZSB0aGUgInN0LHN0bTMybXAxLWV4dGkiIGN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