Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp651573pxu; Fri, 11 Dec 2020 10:51:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1i59xORjThBVSICPJ9KSq9L6/mLgIYtRSmtBFxBPrcp4fvrhFUlNEGUSV4tUL3MHJoUiy X-Received: by 2002:a05:6402:352:: with SMTP id r18mr12623759edw.373.1607712710272; Fri, 11 Dec 2020 10:51:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607712710; cv=none; d=google.com; s=arc-20160816; b=IuNvaNuC4yi+7tsmBw9yrY2AHVAqDbuebXsaz+SsdV6RpQMqjdBAX46sNt4Veg4Opo QKDDxH0MffHimS6oqAvc5Rmt1fRHrYdSxkP9UrMoAuUWZfE7pdYkdlc5du6KenSuBTkH Ksw6pO4csyMexc6Ar+Kg2r7boNYcoJa4PyTJMByqNcXH/3CG7Bn/jQYIOloxCwV7+2HR tPMJVF48UGe/SI7HkUwff7crChCOC8wCeLcP5oYUE+vhDjS5mO1eS3HPMi0p+GIEp5o0 wJyDc0YaSCDvvkuEp5FKwJ/b2L9OTwJIbhTn8e+9OihUt0yqnsEyC5dIPPeyBuAdkTnN Idwg== 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=oRudVRf+1uRTo8NoqysIxrKCFomfp1ReOwVj2Lfa0n0=; b=f7Zma3+bQ+EpZOzBfpkW4NasuCfdtOE4qb5I2DV1F5n18cUGZtrDpW0vSvikkhNzGQ JzKxY0cSLeEIt3TCpEEzHG6Qyvh4Zxfxv25bywduVMEdHO1or6+Fk1NabVzzpUBKpxJN 3e3wRt/eHYwMQJsPSLGUT8Pr3VCl4xaT/DQXm1U6mh8DXRtaDXbK9mwkgxNGmZCZh0DG +HlQ3ThLSyeqg0HZI3x+VpdO3PqLA7l8K9RloMFEJpX6LMwcqF3+O6x4RgRbi8ujFuf3 kcboHeFQLm4MM1gmDOhm+89LsFEUqQxKDUrflU+TYNHd3V4zA6ZfRxtmvLrA1BcvjAna HV/A== 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 o21si4880113ejm.359.2020.12.11.10.51.27; Fri, 11 Dec 2020 10:51:50 -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 S1730637AbgLKQ5v (ORCPT + 99 others); Fri, 11 Dec 2020 11:57:51 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]:37708 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729800AbgLKQ5N (ORCPT ); Fri, 11 Dec 2020 11:57:13 -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-43-udaKKb9nOGy_5JUKHtdpwQ-1; Fri, 11 Dec 2020 16:55:31 +0000 X-MC-Unique: udaKKb9nOGy_5JUKHtdpwQ-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:55:30 +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:55:30 +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/SaRAM6nyD2uwgAAKTACAAABqUA== Date: Fri, 11 Dec 2020 16:55:30 +0000 Message-ID: <3f31140339c94652b1e7116e91cfd9c8@AcuMS.aculab.com> References: <20201211085212.85457-1-vulab@iscas.ac.cn> <34548188-67f4-d3ef-c2e3-871fc520e838@csgroup.eu> <6fc4b62ee7754d78b8f7b9c2275bc47e@AcuMS.aculab.com> <4a1c2852-781f-e125-afcb-69387660b6af@csgroup.eu> In-Reply-To: <4a1c2852-781f-e125-afcb-69387660b6af@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 RnJvbTogQ2hyaXN0b3BoZSBMZXJveQ0KPiBTZW50OiAxMSBEZWNlbWJlciAyMDIwIDE2OjQzDQo+ IA0KPiBMZSAxMS8xMi8yMDIwIMOgIDE3OjA3LCBEYXZpZCBMYWlnaHQgYSDDqWNyaXTCoD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