Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp471339ima; Fri, 1 Feb 2019 06:14:11 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia1SIM34kbJMRpylnI3MoyrHyf3a5fMQOvPj0UPO75/YoO6judsNaJEq2hQIGrKjUHQL97K X-Received: by 2002:a65:40c5:: with SMTP id u5mr2366945pgp.46.1549030451867; Fri, 01 Feb 2019 06:14:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549030451; cv=none; d=google.com; s=arc-20160816; b=m4t+egQJ1zMakc5WLpd83+2J9DfJTCpZLFm1asu5x/T1Dh7iv/ygNovSsXimjZFKea vtmGM2b6BLR0WmnIreoWSrHAtuefleZLBaMCSJBIsMxHHqDR15J1jHerhrS8BH9WIEv9 0f4dtqBwBtf/tovftISpch87+MRXSPHClN34VbmUtjByuhAcIcSWaxAWpGiANSKeW98y RQPxaa6gxB6rM0P2fx4cBEOgLupppXp3SutpaM7Te8zQrg+oqONdoxQjLd3vhRHGhGy3 9IcyeBnonTJ8A0ItwTs1k1onL1bai/dfnqeyyM3GDqAZnVfXvx0Pp6n0qfSx1yzCK5JE /3Pg== 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:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=+CoLmDdoc8R1hyK51IVzdg9IlPsF4owLDan3aQ7Dsfo=; b=Pw5V4oc2BI2FpyQsfHUglocsQbnx54RuLBeSzUsJ3Yo41YhXt2lpFWsqNb1ppLctQ7 7gdSHJXNNYAmsCNVqQoAqyX/h/3bjcDPIAgOo/9z0xd0Wcn3b1uiP9M3VviPqD6fxYnX 6qbtnr4a8PZZPqCqdvf6Q5KUitV6DkHG0WmH8jskdr+FEvhihKm0e9H7Zzii/I5Zhdte 6faegKDB8nvfw7d4bmny1tgCAn5wj2ec38dvMs1l/L1PQdwF1TwO5ZyJMpCf0E0J87/9 lfTAYt3Gg+97vQl2U4QPdti+iIGzMUHyO8KBl1ZnI6D0vCzcNajhjM1drp+rKtvZeW3Y bIlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector1-microchiptechnology-onmicrosoft-com header.b=ZnKr5zUU; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64si7929750pfe.74.2019.02.01.06.13.13; Fri, 01 Feb 2019 06:14:11 -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=@microchiptechnology.onmicrosoft.com header.s=selector1-microchiptechnology-onmicrosoft-com header.b=ZnKr5zUU; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729350AbfBANee (ORCPT + 99 others); Fri, 1 Feb 2019 08:34:34 -0500 Received: from esa4.microchip.iphmx.com ([68.232.154.123]:46366 "EHLO esa4.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726586AbfBANed (ORCPT ); Fri, 1 Feb 2019 08:34:33 -0500 X-IronPort-AV: E=Sophos;i="5.56,548,1539673200"; d="scan'208";a="25740249" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 01 Feb 2019 06:34:32 -0700 Received: from NAM01-BN3-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.76.107) with Microsoft SMTP Server (TLS) id 14.3.352.0; Fri, 1 Feb 2019 06:34:32 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector1-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+CoLmDdoc8R1hyK51IVzdg9IlPsF4owLDan3aQ7Dsfo=; b=ZnKr5zUUcM4PjM75+gW77QH6ZdofZ0S2pESo6D7HgnUbbKZ3lUfW/dC8wPMcc9C4W+EuTpXqd10UeqhFUp5zQx/8SboifWIa8lmnOGjihko4FQUXkedRfr4iJ9JU/pRO0ukETz04/EdKLpI8mR4Ww20N/FdS/YOobHbNqMFW/M8= Received: from MWHPR11MB1662.namprd11.prod.outlook.com (10.172.55.15) by MWHPR11MB1934.namprd11.prod.outlook.com (10.175.54.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1580.17; Fri, 1 Feb 2019 13:34:30 +0000 Received: from MWHPR11MB1662.namprd11.prod.outlook.com ([fe80::b92e:f982:af32:2887]) by MWHPR11MB1662.namprd11.prod.outlook.com ([fe80::b92e:f982:af32:2887%5]) with mapi id 15.20.1558.023; Fri, 1 Feb 2019 13:34:30 +0000 From: To: , , , , , , , , , , , , CC: Subject: Re: [PATCH 05/18] macb_main: pass struct device to DMA API functions Thread-Topic: [PATCH 05/18] macb_main: pass struct device to DMA API functions Thread-Index: AQHUugsvj9N+ac4FwkevDZDD3e1gsqXK8ZcA Date: Fri, 1 Feb 2019 13:34:30 +0000 Message-ID: References: <20190201084801.10983-1-hch@lst.de> <20190201084801.10983-6-hch@lst.de> In-Reply-To: <20190201084801.10983-6-hch@lst.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR04CA0009.namprd04.prod.outlook.com (2603:10b6:a03:40::22) To MWHPR11MB1662.namprd11.prod.outlook.com (2603:10b6:301:e::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Nicolas.Ferre@microchip.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [195.6.168.232] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MWHPR11MB1934;6:1MyhO7dOEXr+xc4OPNWFMJC0vyalnqga7QLuvHx1MpR0k9GdBgPmyL9/Fj30jf7OB/CMx2iSM5lzecw8OCJGoZBTdxvblMTMXz+2/7IqlTPJ2s/7kEnIVgnZ2dIpcC+CiRDUHCEyAp1l/dw3NeT1adYTFZTVm7ZBYDz0B8iMYk0HzjzCLRK1WbjYNzZauKVMw8bvvEvSXn5O0GyBO2mHVjlmyUehySllWgK4hqhWzSgft590UNvD9pIs55E8xZLtkZ8IU+wZh3y/Spq6Pl2ddSiSAPxWNHqzQWGBfZPjRPNvyPWOmaYSPqkg0a2YW7xdKmmAWeBQ2EsgluQibW4fY5jT9Hg6gwXkhcm+HDDM2N89VbZdHfpoFYErtgFmz4+ClFz7CU63vGtoVu+dNvukdULG5clyoqi3jdjEabhGrHgktHW3tGuRpqTqJ7dVshOHXuT65lw9TwmQCFJ3UNPwTw==;5:wpd6yaVk8Z9Giu65gMKmQQs27DBhkBbeqMbBzmw6qpHp3UL3d6GY9boG6pzLz6LfCFHMl3waBIHMj+yIQR7j5R8F3SVogVlkxn83aaDttPK9F/RPEEsCd1HmTG8g3mH7fk4u27rsNKLHwsAerAgo0LWa3BwuDR5qdGjnwy+ksdraRynDn7M47zprIs7RTA8DxkupwTmf4yoZurvTDn9MQQ==;7:55mCbT9QvGX7ZrrlI8bjNYnF0zDOlzfn7/01gqUnnnvVqLIfPOBhz2FfkEfCHFc6+J9A/SUG93rN5wzdWhDP6NQkv+RhCqmkIWkXdc2xgdPDW9qobnubdNeyGtbyOJzCTXq/1pNtFRiapGU5ZzWiTg== x-ms-office365-filtering-correlation-id: 0971a900-3bd0-4dae-0604-08d68849fdff x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(2017052603328)(7153060)(7193020);SRVR:MWHPR11MB1934; x-ms-traffictypediagnostic: MWHPR11MB1934: x-microsoft-antispam-prvs: x-forefront-prvs: 09352FD734 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(366004)(346002)(39860400002)(136003)(376002)(189003)(199004)(2616005)(11346002)(3846002)(31696002)(6116002)(446003)(86362001)(31686004)(105586002)(476003)(53936002)(486006)(106356001)(7736002)(39060400002)(8676002)(36756003)(8936002)(305945005)(81156014)(81166006)(71190400001)(71200400001)(97736004)(6246003)(68736007)(72206003)(6436002)(186003)(26005)(14454004)(6486002)(256004)(386003)(478600001)(4326008)(6512007)(6506007)(316002)(110136005)(217873002)(2906002)(66066001)(53546011)(2501003)(99286004)(25786009)(2201001)(102836004)(76176011)(7416002)(52116002)(229853002)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR11MB1934;H:MWHPR11MB1662.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: GExem889GjJ+wQUFk33uiOq3+80PVsjRpbAg4qWjMjUuIqsI8vyezuM0VRNAazDjB+FaIHgcWKjnjtowj7KKsAdihhTCNtQEHBVA0KVEaLhmimWEV/TCVFHdcvwO4nZ40vDLoheTHmwcxxAs4331TfoI72nInnyfOYcP5HsNS7DPUrl3qbfD5ROSQ4pZ/TFP8GJpgLXzQ9WLrxsBE1QhVi913lT4W6SshG2nOYRdrK54tgr9jmeJUPDO/J5IZlf+9xeySUvmxKgJCWGX2PCGF3efCQxyy5Wu6BHAXVx5WhC9R4SkGnaVYQPeJp6uMjHKL0apBIgTYred0orDhre0HwZ1b4rzM954E/CKqPFFHS4aHaSbgMQSzVHY/wITL/RedhbNH/wmgfO9hiiIY9XCPGGnSXQqxaQZhbdwER5oZ5k= Content-Type: text/plain; charset="utf-8" Content-ID: <7DC9437E6C81014BBE5FC3185E3DE5FC@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 0971a900-3bd0-4dae-0604-08d68849fdff X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Feb 2019 13:34:25.7655 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1934 X-OriginatorOrg: microchip.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMDEvMDIvMjAxOSBhdCAwOTo0NywgQ2hyaXN0b3BoIEhlbGx3aWcgd3JvdGU6DQo+IFRoZSBE TUEgQVBJIGdlbmVyYWxseSByZWxpZXMgb24gYSBzdHJ1Y3QgZGV2aWNlIHRvIHdvcmsgcHJvcGVy bHksIGFuZA0KPiBvbmx5IGJhcmVseSB3b3JrcyB3aXRob3V0IG9uZSBmb3IgbGVnYWN5IHJlYXNv bnMuICBQYXNzIHRoZSBlYXNpbHkNCj4gYXZhaWxhYmxlIHN0cnVjdCBkZXZpY2UgZnJvbSB0aGUg cGxhdGZvcm1fZGV2aWNlIHRvIHJlbWVkeSB0aGlzLg0KPiANCj4gU2lnbmVkLW9mZi1ieTogQ2hy aXN0b3BoIEhlbGx3aWcgPGhjaEBsc3QuZGU+DQoNCkFja2VkLWJ5OiBOaWNvbGFzIEZlcnJlIDxu aWNvbGFzLmZlcnJlQG1pY3JvY2hpcC5jb20+DQoNCj4gLS0tDQo+ICAgZHJpdmVycy9uZXQvZXRo ZXJuZXQvY2FkZW5jZS9tYWNiX21haW4uYyB8IDgg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