Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2076388pxk; Mon, 14 Sep 2020 04:13:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7M8oBRNDBI6U/jOnxbxpFrMkhZOeQd7CokGw5SzBt3MaIbm7I5D++ktqgmjL1AZt17s/j X-Received: by 2002:a17:906:c191:: with SMTP id g17mr6421021ejz.117.1600082008681; Mon, 14 Sep 2020 04:13:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600082008; cv=none; d=google.com; s=arc-20160816; b=V7whB79yF23V21RaaolOCgO5LUHvWN7/YDi9n4vVUrwtoWKh+2xH23U+lvPmjOnUGJ Ksp3uB4jQVAM4+uN8ErvraykV+D1lVAi6JEYRlVjIgfPkWEMZySewZPsBjEmMXkH82Dq zJ8bW0OwF74czm1rEOr2SvQDN7zm/Q9izsnl9MidBqLQCAMkr2hOt9xcWo9lk6m3SDvl X1jh5h05k2en+5WWCOE92QPXqCFumao9EAiS+yKbx75cDtC9/4I84sjhXjuZ/j1OhIkV iv3hjieTLOMEZa/BZuxL1m8S8CKAJOqSIOFNxLXGWv7uBwBSH6q3JTJL+wKr6DLhId2K 0i2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=yszHbgqX450NR05oYbyE31jOQW/bTnQLlOfg2qjJEo0=; b=eJeyc5zkPRmKP+DbUigYfRxuGWjFFXWv+jd6cTZAPfpKWcow2kbeTbzVSEA2DZciGx kekT3Wjd3BY98PkXdZQZo++5x8zvwukegieS1Fa+85XdAwtf5HM+gYNweA49aJzblUi0 jbGg9R5k/4LycO3uoL7a1eucUyxDfqm6eHpMMUCjrPREmi0Myuo02f8id29XyW60eXro t7QSswjMAphObNNhPZ/9/XV7fx3NGzrr8+rH3/stxKz8mBx0pctdLNYFZ1DunYVURNG1 YDNk/cbe5JqgiV1RlfD1TRg9MzhK5ItmNU03rRmnC2p2HEL6MFtN86DvrsnL20zwNpz0 h6RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=ozlgJ5Bd; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j19si6687961ejx.272.2020.09.14.04.13.06; Mon, 14 Sep 2020 04:13:28 -0700 (PDT) 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; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=ozlgJ5Bd; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726004AbgINLJi (ORCPT + 99 others); Mon, 14 Sep 2020 07:09:38 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:36911 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725964AbgINLJi (ORCPT ); Mon, 14 Sep 2020 07:09:38 -0400 Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id CC4EA22F53; Mon, 14 Sep 2020 13:09:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1600081776; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yszHbgqX450NR05oYbyE31jOQW/bTnQLlOfg2qjJEo0=; b=ozlgJ5BdDpbabKUGdD25b0kKp+8wyFP/TZ6OkHrMwCyVFvIUAxHxHH1hTOmM0+ZAMaJAf2 t7wa8Xq0Mc93xdcvqfKtENYJ1uVrfJb0QZOO10ufjLcmDusfLlIsvrY9oEKezzCSDGd5mP nrjh0WHu/aJ5vBzeiYZPhYNYyEtdtzQ= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 14 Sep 2020 13:09:33 +0200 From: Michael Walle To: Pratyush Yadav Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Vignesh Raghavendra , Tudor Ambarus , Richard Weinberger , Miquel Raynal , Jungseung Lee Subject: Re: [PATCH v2 1/4] mtd: spi-nor: cleanup common code In-Reply-To: <20200914094046.tccoc54n7e36zzyr@yadavpratyush.com> References: <20200911222634.31804-1-michael@walle.cc> <20200911222634.31804-2-michael@walle.cc> <20200914094046.tccoc54n7e36zzyr@yadavpratyush.com> User-Agent: Roundcube Webmail/1.4.8 Message-ID: <6d52e1bdbbefc9383904e28bcc1c78a7@walle.cc> X-Sender: michael@walle.cc Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pratyush, Am 2020-09-14 11:40, schrieb Pratyush Yadav: > Hi Michael, > > *sigh* This patch will cause a _lot_ of conflicts with my series [0]. > It > should hopefully go in the next merge window so maybe you can rebase on > top of it? Dunno. Could you pick up this patch in some form in your series? It looks like your series touches most/some of the functions. The patch just removes code repetitions. TBH I don't need this patch as I just can implement my new one-byte command using the current "if (nor->spimem) {} else {}" pattern. -michael