Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2569507ybc; Mon, 18 Nov 2019 00:55:13 -0800 (PST) X-Google-Smtp-Source: APXvYqyBTSkqZ5/yPlDyPg6OdoS8nE90tvzGPKZ7uZZlG0rKW/uKRRnmK+H6oRUOQqaZcltVh/7x X-Received: by 2002:a17:906:411:: with SMTP id d17mr24879056eja.299.1574067313385; Mon, 18 Nov 2019 00:55:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574067313; cv=none; d=google.com; s=arc-20160816; b=xpohD0a65vavWl1Ya+vE//7iAL0fqwgMQO5B+hm3VgNyUgxoJFUtG1OgEl6KQKuk0y Eyw91JW1pjQ2MBMzzT8fGfVTjaylFK8UbW+0yqWVjYRTwQt63iouIzbD9SroZPyvYQx6 hVAbZHwyFuejCEhMILn3nTSoXfilrDEfhweutT4UkXtd0zWEm6rVIUtIY0GfC/5N7xpw OTYNx1QqUSXTAzZlamubWgXZZh8sZIzAnFj3Lqnzm9y5+0CY8klI32cWqN0frztRBW1c dReJZKr+3KyOVdC8WE8DTEb1SiAWkz98E3Km8wf8AhR8ysJ8Q5Hq1vOSBrXD4tBq5W5B IuBQ== 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=Npr6b/rvW2p3vyDbOovmjWkHvtCK3QNb78JsQ25FEE8=; b=UmTpqav8eP7CCLWW+OXH3ejtBld+GBGIjTbTMoakfLaVCh5GEGrO3ZrVYtbU3h6OcO Vj2pukrwsCorwXGPx2cBscxc8ytvuiKZWnM344zCFmNa9ijcxgPEu9bt40st6cgY+b21 Gv5pfMTNc49wdGnPbuWYZWrzfXMvQIawr5v4OjgLMVBYjgAnUtoVdiSB2KAf//oNEToZ QGVRUHdmJoCnvLqW6ZLwLojEYfQcDVnqMtqNCr/24nPiqL1YBA6V1OQQLXqTis1hWKum EWt7eCTPxt7jf5+tEh4c1tdOr+WOk6KW1auw0RTibAE6LUwAcl9s8kIL3rNFl9DICMxo RVig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=mHjn7cvz; 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 f25si10986467ejw.85.2019.11.18.00.54.49; Mon, 18 Nov 2019 00:55:13 -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=mHjn7cvz; 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 S1726830AbfKRIvJ (ORCPT + 99 others); Mon, 18 Nov 2019 03:51:09 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:14092 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726442AbfKRIvJ (ORCPT ); Mon, 18 Nov 2019 03:51:09 -0500 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xAI8g912024724; Mon, 18 Nov 2019 09:50:54 +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=Npr6b/rvW2p3vyDbOovmjWkHvtCK3QNb78JsQ25FEE8=; b=mHjn7cvzJFqMewAxbVioRjex5Ekp46vR2PEgVQLGxrTbKetgequnsiDSb5l2SKi/LXVi QYmHVWLYed1W77JFeDKowzvnn6VCrxG3sUFhJj43s0UkXyUkp5yIx7yJf+7r9GGM2fXp x1BGGcqomuRTV/r4kykamnSWjm/Z2PjmEmxRy8Clsj76St1ALl6pxQbp1ikWjANck3Vi PG0bbtOqWR4DA6TegBC+Fl5wkBt/QZRfEkFAT9ox9GG/RYEcI09XIbDPujSzZ4m6P412 jO8m8mzf0erUd/78PVR612/OATZqGNe6tRXoBXPTx+KD1eWnW4pUlBHlcFEwyWBHkrOo nQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2wa9unrate-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Nov 2019 09:50:54 +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 C8DDB10002A; Mon, 18 Nov 2019 09:50:53 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node1.st.com [10.75.127.7]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id B5C542B8BE8; Mon, 18 Nov 2019 09:50:53 +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, 18 Nov 2019 09:50:53 +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, 18 Nov 2019 09:50:53 +0100 From: Fabien DESSENNE To: Mathieu Poirier CC: Maxime Coquelin , Alexandre TORGUE , Ohad Ben-Cohen , Bjorn Andersson , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-remoteproc@vger.kernel.org" , Arnaud POULIQUEN , Loic PALLARDY Subject: Re: [PATCH v4] remoteproc: stm32: fix probe error case Thread-Topic: [PATCH v4] remoteproc: stm32: fix probe error case Thread-Index: AQHVm5vlCsf8lNbU9ES36nbBAkDt6aeMhJuAgAQN+QA= Date: Mon, 18 Nov 2019 08:50:53 +0000 Message-ID: References: <1573812188-19842-1-git-send-email-fabien.dessenne@st.com> <20191115185549.GA17332@xps15> In-Reply-To: <20191115185549.GA17332@xps15> 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.49] Content-Type: text/plain; charset="utf-8" Content-ID: <0F74F2676284B340997AADED506AE1C1@st.com> 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-11-18_01:2019-11-15,2019-11-17 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTWF0aGlldQ0KDQoNCk9uIDE1LzExLzIwMTkgNzo1NSBQTSwgTWF0aGlldSBQb2lyaWVyIHdy b3RlOg0KPiBIaSBGYWJpZW4sDQo+DQo+IE9uIEZyaSwgTm92IDE1LCAyMDE5IGF0IDExOjAzOjA4 QU0gKzAxMDAsIEZhYmllbiBEZXNzZW5uZSB3cm90ZToNCj4+IElmIHRoZSBycHJvYyBkcml2ZXIg aXMgcHJvYmVkIGJlZm9yZSB0aGUgbWFpbGJveCBkcml2ZXIgYW5kIGlmIHRoZSByc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