Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp2991735imc; Wed, 13 Mar 2019 06:23:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqxXhbn/V1RlVMLtbB/aeS+j1lkxQXSDdXEuOL1/3QfiEr+aE3PYvNOzaGQAiIy0LbdnG+IX X-Received: by 2002:a17:902:8348:: with SMTP id z8mr46846531pln.151.1552483384726; Wed, 13 Mar 2019 06:23:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552483384; cv=none; d=google.com; s=arc-20160816; b=zxWjW8wnURBPLktUQt1wB8ixykKponIoDtxTw8knkLqBlRg+hxitiLyjIbE92mv+M1 8TXWKzpk4nefJiTPUxkTDjiNwEM/7rZRBsUkIsO95AldbjU3sgpRvdaw+wtHUlj0sJn9 50SGqaWlzWE9b9tH185k69N45rZqmozEXUFuveijm/gOvUHeoZDvQ1UZ+rhU3jk5IGfU yq7hjW+RyryankEMPhW1lZim0fE9SbUa1iqNk8l/fx+c9NkFtalmvJiwkdJtiQSbE0EE GtMz0lONJ9iIGJo3udPienxk4f5vetSGeXdg5E4wzPC/2ZNUDQFi5ynr4dMdlCRPRHgb 3/7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=9UE8XQDzw/AAulBeeqoHnVoXZChMQhs1XBO5YaROSeo=; b=jAk26lYaNnW2vmrkcrQgJobtjfnjkG4roc4hFCiwg2VKkMawlyY6/3LZ/kRwks5bWj 0ngMBaOS0CQ1Il2m/7V4Pr2rs4aqjGgPv9Thgfm+fkA/9F2hL68LSyt2TaTrEA+0rWUn ZZTnr3WKQ6acvN7S261e04e7nrBx+X++3VTDdxSnXoiOPL7bzNHs6f7c36jdbp5ahGOL /R6Q/a/DnSQKuSoaOXynFm5aON7PDXqrvUrt/vkPx171X3JyawXovxveI/MpMaYg7aJt ywM7roVF0T2zidfxXEXQj3M1HgTvo9V7FnAssiBx0pz2nq4/5zyaOXFmdFctzmHfLeKw UDfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@126.com header.s=s110527 header.b=Znc0xRP1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=126.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y12si7329658plp.86.2019.03.13.06.22.48; Wed, 13 Mar 2019 06:23: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; dkim=neutral (body hash did not verify) header.i=@126.com header.s=s110527 header.b=Znc0xRP1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=126.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726626AbfCMNWE (ORCPT + 99 others); Wed, 13 Mar 2019 09:22:04 -0400 Received: from m15-22.126.com ([220.181.15.22]:61663 "EHLO m15-22.126.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725926AbfCMNWD (ORCPT ); Wed, 13 Mar 2019 09:22:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=Tz3ko V9dG1zZG0/+pXEVnWHseM45fw6JVQh8KAdEq40=; b=Znc0xRP1cF9sOxfvjkei1 gaHAm/OFQHqHn/a2X6jwMXGVNTLTPg6EflHLkpr7gKejpOQFwBjoj7VLVBzx2DjW ofQ7ioX3H0GAkchaGfb4TKVt22SG7PIs2LseNufHhAwAS8g2YEN6G6Jbo1JESn73 tG+4/pBKpg575SEZ0J46eQ= Received: from liuxiang_1999$126.com ( [110.184.152.196] ) by ajax-webmail-wmsvr22 (Coremail) ; Wed, 13 Mar 2019 21:20:49 +0800 (CST) X-Originating-IP: [110.184.152.196] Date: Wed, 13 Mar 2019 21:20:49 +0800 (CST) From: "Liu Xiang" To: "Liu Xiang" Cc: "Boris Brezillon" , Tudor.Ambarus@microchip.com, liu.xiang6@zte.com.cn, cyrille.pitchen@wedev4u.fr, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, marek.vasut@gmail.com, dwmw2@infradead.org, computersforpeace@gmail.com, richard@nod.at Subject: Re:Re:Re: [PATCH] mtd: spi-nor: Return error when nor->addr_width not match the device size X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20180927(cd7136b6) Copyright (c) 2002-2019 www.mailtech.cn 126com In-Reply-To: <55597875.b295.1671cb170cb.Coremail.liuxiang_1999@126.com> References: <1542200165-3073-1-git-send-email-liu.xiang6@zte.com.cn> <20181114145129.568e4bb3@bbrezillon> <96397ec0-14de-f09a-a18d-c67396e33fba@microchip.com> <20181115120256.4e1a86b2@bbrezillon> <55597875.b295.1671cb170cb.Coremail.liuxiang_1999@126.com> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <7dc8a742.905e.16977366cf9.Coremail.liuxiang_1999@126.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: FsqowAAHEViyA4lcdwEDAA--.24590W X-CM-SenderInfo: xolx5x5dqjsiqzzzqiyswou0bp/1tbiTwJ2sFpD74V6sgACsy X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CgoKSGksIEJvcmlzCkkgYW0gc29ycnkgSSBoYXZlIG5vdCBnb3QgYW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