Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1391356ybm; Wed, 22 May 2019 23:44:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4c4Wb0uL3LEongtcbD085ubl+SXmmadNtAgnInDRQKbzO2zPxz4vJrFUjazM8tK+vYIpk X-Received: by 2002:a63:1150:: with SMTP id 16mr96136352pgr.40.1558593844496; Wed, 22 May 2019 23:44:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558593844; cv=none; d=google.com; s=arc-20160816; b=gcwUEorJQL+v7jfKutlT+yqa4ad5oHWEz12t048rYa5XKTdR8jorKTsAMYfNfF2xCo Nvazpg37mptP8apT7prGNinI0pmnjcgSbIJ7N7sjFGVPxGGEPp20j+2WbxW9rpq0Fwd6 HUw+wMMJL9tS6pOVSvBgYAqauZlVrmcCVBZ0KraWB5dkzhmLP83utZI105FswyVznxrI BwRZOmT+1SRQsbDXbETGL1BCHfpIy46E3qBy9bzV2VoWwiGXGuEGbRd5IcJoRHexE0rw VSa/QL+cAIEOxe+h7OVcxnavWeG+gS1ITvqEXM5wU0NlG+9oSIej7MwA5l0MA7Or/sDs RJUQ== 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; bh=0yAGvzzxHkxky3Dl6+9l72DKprylPojUb/M4vLCngaU=; b=yYtM8cBQCgP8P1imTEJvuWup+1mEE/JHKKYdLGYsM6/QFfufGAgM5VTj1mZ5+WLiyV q4/dDQJe7hcf5k+ND0J5wDoju3jAoqtjzhdv8N6XdYo0XREnvbXAsP/kx9uWomnAxQ7F eDarMoNgcFz/5vSWjkCeQN9+hI2FWHURMDrrgh37GDUYqf6qz3evWyW06oqHGAgZTQib vO/3bo9RThw8i2tYnEmEFa+ecvnrtqcPhW39/CrJgjsPwaCGboc3K2JugoLxjN1Os/UL vPlZWra5hE1RNNe0OplqUzkEU61mFRvQAZPTEL9vBiTt+L51MlVm2C19VmpxIeOJ5HTa bGnQ== ARC-Authentication-Results: i=1; mx.google.com; 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 j6si14447271plk.120.2019.05.22.23.43.48; Wed, 22 May 2019 23:44:04 -0700 (PDT) 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; 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 S1726363AbfEWGmd (ORCPT + 99 others); Thu, 23 May 2019 02:42:33 -0400 Received: from skedge04.snt-world.com ([91.208.41.69]:59396 "EHLO skedge04.snt-world.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725806AbfEWGmd (ORCPT ); Thu, 23 May 2019 02:42:33 -0400 Received: from sntmail10s.snt-is.com (unknown [10.203.32.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by skedge04.snt-world.com (Postfix) with ESMTPS id DD9C766117C; Thu, 23 May 2019 08:42:28 +0200 (CEST) Received: from sntmail12r.snt-is.com (10.203.32.182) by sntmail10s.snt-is.com (10.203.32.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 23 May 2019 08:42:28 +0200 Received: from sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305]) by sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305%3]) with mapi id 15.01.1713.004; Thu, 23 May 2019 08:42:28 +0200 From: Schrempf Frieder To: Jeff Kletsky , Miquel Raynal , Richard Weinberger , "David Woodhouse" , Brian Norris , Marek Vasut , Vignesh Raghavendra CC: "linux-mtd@lists.infradead.org" , "Jeff Kletsky" , kbuild test robot , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v4 3/3] mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxG Thread-Topic: [PATCH v4 3/3] mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxG Thread-Index: AQHVEOq8ofUdXvC9RUu5vDDV8HwpMaZ4IfUA Date: Thu, 23 May 2019 06:42:28 +0000 Message-ID: References: <20190522220555.11626-1-lede@allycomm.com> <20190522220555.11626-4-lede@allycomm.com> In-Reply-To: <20190522220555.11626-4-lede@allycomm.com> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.9.193] x-c2processedorg: 51b406b7-48a2-4d03-b652-521f56ac89f3 Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-SnT-MailScanner-Information: Please contact the ISP for more information X-SnT-MailScanner-ID: DD9C766117C.A3716 X-SnT-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-SnT-MailScanner-SpamCheck: X-SnT-MailScanner-From: frieder.schrempf@kontron.de X-SnT-MailScanner-To: computersforpeace@gmail.com, dwmw2@infradead.org, git-commits@allycomm.com, lede@allycomm.com, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, lkp@intel.com, marek.vasut@gmail.com, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMjMuMDUuMTkgMDA6MDUsIEplZmYgS2xldHNreSB3cm90ZToNCj4gRnJvbTogSmVmZiBLbGV0 c2t5IDxnaXQtY29tbWl0c0BhbGx5Y29tb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