Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3990715ybg; Fri, 25 Oct 2019 11:46:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqxE9k+9F8XM+waWyCHfhX+boYiTAW7AB/Xe2XreL1zUvb4eiuII2sEKe72B/l75or81yhhc X-Received: by 2002:a17:906:2319:: with SMTP id l25mr4886381eja.309.1572029172864; Fri, 25 Oct 2019 11:46:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572029172; cv=none; d=google.com; s=arc-20160816; b=wuxLRmvXH50vRnZo4By+vGncWM97ZHye4yGwv+dWCidDSBiPxBSpzXOwth3OFMYd8r ywiP4QQgsu5wSFLXTHkSAXFGvxLo8hfiJd2c9SgdpxKp2kooFUdAv+Z5nqozFR3I0+g5 /qTZOaHyuy+JJx6vj5XPpPfvgaNaIY0BcVj3ND96z573difnSvgpCk706AKAqwEpVgkw 4FVGo1RvLZCjK10fiaeVwkptKls2IiwpoC578WMNJ6Euwz3YmWMadOEq5GaRmNxxdDJa 5leVnHWREwbrIMjzOiGERf+Xx/rSrMnhMnOR3N9+K7B7HTmTk8e75bcEB6Xy2rIilOLG +TOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to; bh=21VVGKnkCxAfa6ifO5SyVxZNjFRKsERtLJcDwsO0ShE=; b=bRFLzgvb3IlIu0SvZrG85IIq600rpmd/0B+pB5uBwT2EyQBCHdMRSip2NaAP99ofsK 2idMxCKTxdUU29ZUNskcLVGDgKtjjDBVjin7rwbVobEleAtCgpLScmspidRVUG7GzDVs 9uWlqzSfslW/dHbyjD0LP59lFPNDDUSHd2ho0sT7+2jf7uNKZWgmIuonQJIfwcRJZn7p BJZ27hlTCsE5W+2xuo3pSm26RqLOqBZppjkrg+suP/Ds6IsFTcqiv/JpsWjbkGK4m5b+ 9jFa3MODaZePvJW6RUcQa9fCiN9/NZ6YTE/L8Afk7nONoE4p7lmGmgZRmXfdLCtOmGSL bZzg== 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 u24si80361ejr.220.2019.10.25.11.45.48; Fri, 25 Oct 2019 11:46:12 -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 S2436946AbfJXRSb (ORCPT + 99 others); Thu, 24 Oct 2019 13:18:31 -0400 Received: from ale.deltatee.com ([207.54.116.67]:39994 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436828AbfJXRSb (ORCPT ); Thu, 24 Oct 2019 13:18:31 -0400 Received: from s0106ac1f6bb1ecac.cg.shawcable.net ([70.73.163.230] helo=[192.168.11.155]) by ale.deltatee.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1iNgkh-0005m1-1a; Thu, 24 Oct 2019 11:18:25 -0600 To: Christoph Hellwig Cc: linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, Sagi Grimberg , Chaitanya Kulkarni , Max Gurtovoy , Stephen Bates References: <20191023163545.4193-1-logang@deltatee.com> <20191023163545.4193-4-logang@deltatee.com> <20191024011743.GC5190@lst.de> From: Logan Gunthorpe Message-ID: <382906f0-ce0b-282a-9665-8317b50fe374@deltatee.com> Date: Thu, 24 Oct 2019 11:18:20 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191024011743.GC5190@lst.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 70.73.163.230 X-SA-Exim-Rcpt-To: sbates@raithlin.com, maxg@mellanox.com, Chaitanya.Kulkarni@wdc.com, sagi@grimberg.me, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, hch@lst.de X-SA-Exim-Mail-From: logang@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ale.deltatee.com X-Spam-Level: X-Spam-Status: No, score=-8.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, GREYLIST_ISWHITE autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [PATCH 3/7] nvmet: Introduce common execute function for get_log_page and identify X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-10-23 7:17 p.m., Christoph Hellwig wrote: > On Wed, Oct 23, 2019 at 10:35:41AM -0600, Logan Gunthorpe wrote: >> Instead of picking the sub-command handler to execute in a nested >> switch statement introduce a landing functions that calls out >> to the appropriate sub-command handler. >> >> This will allow us to have a common place in the handler to check >> the transfer length in a future patch. >> >> Signed-off-by: Christoph Hellwig >> [logang@deltatee.com: separated out of a larger draft patch from hch] >> Signed-off-by: Logan Gunthorpe > > First signoff needs to be the From line picked up by git. I don't really > care if you keep my attribution or not, but if you do it needs From > line for me as the first theing in the mail body, and if not it > should drop by signoff and just say based on a patch from me. > > Otherwise the series looks fine. Ok, understood. Do you want me to fix this up in a v2? Or can you fix it up when you pick up the patches? Thanks, Logan