Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp3289471pxx; Mon, 2 Nov 2020 05:15:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJyUzIrGpLjE/SyuW7emM3u1zkz93KQgE1H01uxcq5tIcp0rQI2mDebO5YsZos+xEwRioS7g X-Received: by 2002:a17:906:1246:: with SMTP id u6mr15328246eja.432.1604322959405; Mon, 02 Nov 2020 05:15:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604322959; cv=none; d=google.com; s=arc-20160816; b=wKwIwkBGcoXRmD4VppwarQB19sgAfWhbi/vTi3AhfR8jj+e/5nWiGYFkFmF8iHYMwq xOnIvifT89uD1zLe3q+cyeN9MVHsxKyjYKsnYUhfvV6S1bfdorK5lZCyUFYLUnDzdKcT uZqlaVUcHezDjPf0KsiwTFKM8MMSnC6Jj+7YENgzHvaSvz1jjlmR24qHq6rmzjG718yZ QurLcvTznyV3PBP0zcNNUyTpz+Dekj45FRqVGcI+PfB2JGal38ZUfLJ+zzXCsZO0geBE cjZAHg6v9IjVmeSRwSck0MIRrC2zVzYnyDH2bJfRS14Oy7s7EtfUqe0VKxC8tuEa41u5 uaMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence: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=3HdWeV86WFx+GNisUbqL+zoSdGCvnlJejFltoMy+vQU=; b=jAf9HbdbUxCYBYy3oB5surLfi71lQs/cSDcTbmoR14tuDczMQBIBASmlFEaggAtvOi IkHmvDP3I78+kYS/Kp3pAzZKQLiOY5v19sHvkBUHqlet4//XrUMVUkOgI98zQfNO/IqI vurzVl7pNpdOOnV7XFYNiuZA16QxADaptAbIBhSKZZlaLA5OX982ykCLSjnH/wJN6CPe UoE9FLj6Fqa0Eqpikh60bMHUjztEqkXbW6ndxbEWW5Y0Cov+mObDdkUDvOKl/27YbvUN NQDWUEJDA9oNC0aOp2s9sAWj3bUc8cOoroA4x8FBGEOPOLMUDVfoiumdgDNtMUf/s3O7 7zAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=SRrw2FLj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id o6si10373430eds.235.2020.11.02.05.15.34; Mon, 02 Nov 2020 05:15:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=SRrw2FLj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728614AbgKBNLx (ORCPT + 99 others); Mon, 2 Nov 2020 08:11:53 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:33762 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728253AbgKBNLw (ORCPT ); Mon, 2 Nov 2020 08:11:52 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0A2D7b50013804; Mon, 2 Nov 2020 14:11:42 +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=3HdWeV86WFx+GNisUbqL+zoSdGCvnlJejFltoMy+vQU=; b=SRrw2FLjkvhTEkZ8bIGQ3gOHbhUje9oibhSup1WRLMzuu3cH4W7PetjFjlaXv4NqgK1s psTvk2hhdmxxn5k0PqQ4tZfuEBGS5046vAMS6Wh0tuSrC/Kgzb7O8Hqe+bt3O5XkN81Q 2pQrxNON6XgVNMPbgozIyYChuAeJCRTLr7niEUAimNhwUiw0kfhpgZ4ol93rYn+F53F2 IHDVRGa4IERGzSbNdIAJHl+lxCeZ1Ij6orFytzJzvhJh6N9xn/TCp/m9XKfrGAFURBa1 f0lNjKVZCY1B4ns5116jL4g0027G10r2KwfaAkmtpUS1gkK9NBmBOhmQzbHwhMztNY6/ dg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 34gywqjs82-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 02 Nov 2020 14:11:42 +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 2666010002A; Mon, 2 Nov 2020 14:11:41 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 180102B4D0F; Mon, 2 Nov 2020 14:11:41 +0100 (CET) Received: from SFHDAG1NODE3.st.com (10.75.127.3) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 2 Nov 2020 14:11:40 +0100 Received: from SFHDAG1NODE3.st.com ([fe80::ad8b:a44d:504a:670d]) by SFHDAG1NODE3.st.com ([fe80::ad8b:a44d:504a:670d%20]) with mapi id 15.00.1473.003; Mon, 2 Nov 2020 14:11:40 +0100 From: Fabien DESSENNE To: Martin Kaiser , Jassi Brar , Maxime Coquelin , Alexandre TORGUE CC: "linux-stm32@st-md-mailman.stormreply.com" , "linux-kernel@vger.kernel.org" , kernel test robot Subject: Re: [PATCH v2 3/3] mailbox: stm32-ipcc: cast void pointers to unsigned long Thread-Topic: [PATCH v2 3/3] mailbox: stm32-ipcc: cast void pointers to unsigned long Thread-Index: AQHWsGW/jAuCDkDpAEiDXEawNcFXqam0wcUA Date: Mon, 2 Nov 2020 13:11:40 +0000 Message-ID: <948c95e9-dcaa-fde7-05ca-e8587180f57e@st.com> References: <20201024133154.22767-1-martin@kaiser.cx> <20201101154231.14250-1-martin@kaiser.cx> <20201101154231.14250-3-martin@kaiser.cx> In-Reply-To: <20201101154231.14250-3-martin@kaiser.cx> 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:68.0) Gecko/20100101 Thunderbird/68.10.0 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:6.0.312,18.0.737 definitions=2020-11-02_07:2020-11-02,2020-11-02 signatures=0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTWFydGluDQoNCg0KVGhhbmsgeW91IGZvciB0aGUgcGF0Y2guDQoNCg0KRmFiaWVuDQoNCg0K T24gMDEvMTEvMjAyMCA0OjQyIHBtLCBNYXJ0aW4gS2Fpc2VyIHdyb3RlOg0KPiBOb3cgdGhhdCB0 aGUgZHJpdmVyIGNhbiBiZSBlbmFibGVkIGJ5IENPTVBJTEVfVEVTVCwgd2Ugc2VlIHdhcm5pbmdz IG9uDQo+IDY0Yml0IHBsYXRmb3JtcyB3aGVuIHZvaWQgcG9pbnRlcnMgYXJlIGNhc3QgdG8gdW5z aWduZWQgaW50IChhbmQNCj4gdmljZSB2ZXJzYSkuDQo+DQo+IHdh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