Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1306253pxu; Sat, 12 Dec 2020 08:27:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4sJolKiUfHF/a1gRxa20tIl/O2q0K4xiy1GSRTje1ISO1iKPJyQrfoMQKAnrGDpFwhKTM X-Received: by 2002:a17:906:1498:: with SMTP id x24mr15255230ejc.170.1607790474142; Sat, 12 Dec 2020 08:27:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607790474; cv=none; d=google.com; s=arc-20160816; b=tXFt/77fCtKBF3C4O0tafFbpXkp95YT/w23d78JB76zhHyW7QheaUC8W/w8WcXK1tt PLR2xgxGV1qnoOPE+3PCGxAOCavDiy8jUYm3MynfoqtxBdXaJWrcvWffVxV2zRN2qnNG WTVZ7MFbw84bd8KNjxuPBPJKISd7mh9rwU9X5g5p9Bnz+h1vTYEbvo/ADSi6mFuFSx2x DJaCeIFK+UJhvGcJ1vAwTmTT/UlnDo61lMt+LiPsJub84Vh+tGVvjMcpNIFlfkze6YmR JoxC3qcF9dkifVtqm8ytDMoueaoMa26t8m10asHN9fgX1ne+/9b6MSAMAZx2P+4slzdL PFJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=xkjQxVaUapPHjxoF7H7o3u8qDqJ0qcMBCBwsHEuvuUY=; b=UlrvNbcLDMq9w8ebpQhDfp7dFFKR6qQyejNyzug6fF4oEtyZa1a47U3Y2dgwL09D1k MiHQD/LTf1zlft1kfko54WbMR48uVg8XPuGLrnlBEHw95xMHIY451Bk58wmfGVZMQaNN 3KYXhGsT0fIMA2GtsVCbIQ9vtr+a/brAIbA94TQhF1GvtVUHKdxbxlujqcoocKgKc/oz tBUXX6T11lTEiOA7ynG6mT82Jbc6qalhFjvM78sXfj7CuySGOWcTnYznV/mAvH8lXeJO nFIxaQynDDImZi7TvouThbRPoLnn0JrfuxUX3jDk4Oi+hQfQXxIdoZAK5Wfi+fBp/PV1 ioVQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r14si6227117eju.173.2020.12.12.08.27.31; Sat, 12 Dec 2020 08:27:54 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394492AbgLKQJp (ORCPT + 99 others); Fri, 11 Dec 2020 11:09:45 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]:20286 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728560AbgLKQJU (ORCPT ); Fri, 11 Dec 2020 11:09:20 -0500 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-175-etU-TdEENmeoZ7YiwHeG8Q-1; Fri, 11 Dec 2020 16:07:38 +0000 X-MC-Unique: etU-TdEENmeoZ7YiwHeG8Q-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 11 Dec 2020 16:07:37 +0000 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Fri, 11 Dec 2020 16:07:37 +0000 From: David Laight To: 'Christophe Leroy' , Xu Wang , "pantelis.antoniou@gmail.com" , "davem@davemloft.net" , "kuba@kernel.org" , "linuxppc-dev@lists.ozlabs.org" CC: "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] net: ethernet: fs-enet: remove casting dma_alloc_coherent Thread-Topic: [PATCH] net: ethernet: fs-enet: remove casting dma_alloc_coherent Thread-Index: AQHWz9GpgD7sF0Ef20abEun/SaRAM6nyD2uw Date: Fri, 11 Dec 2020 16:07:37 +0000 Message-ID: <6fc4b62ee7754d78b8f7b9c2275bc47e@AcuMS.aculab.com> References: <20201211085212.85457-1-vulab@iscas.ac.cn> <34548188-67f4-d3ef-c2e3-871fc520e838@csgroup.eu> In-Reply-To: <34548188-67f4-d3ef-c2e3-871fc520e838@csgroup.eu> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogQ2hyaXN0b3BoZSBMZXJveQ0KPiBTZW50OiAxMSBEZWNlbWJlciAyMDIwIDE1OjIyDQo+ IA0KPiBMZSAxMS8xMi8yMDIwIMOgIDA5OjUyLCBYdSBXYW5nIGEgw6ljcml0wqA6DQo+ID4gUmVt b3ZlIGNhc3RpbmcgdGhlIHZhbHVlcyByZXR1cm5lZCBieSBkbWFfYWxsb2NfY29oZXJlbnQuDQo+ IA0KPiBDYW4geW91IGV4cGxh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