Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp28596ybg; Thu, 11 Jun 2020 16:12:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPXUFA7/4U2Z8I8CeTb3l+p4AgpbuQtoZNkMCcpEpEUYkjye6hqHmotOkZw4jGBZrGSOJX X-Received: by 2002:a05:6402:1ac1:: with SMTP id ba1mr8807043edb.91.1591917153474; Thu, 11 Jun 2020 16:12:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591917153; cv=none; d=google.com; s=arc-20160816; b=1HyhopRQb8x4HmT6rrcvPlaoepr5YwjyyvHv75Gr43AiNyS+cQxwZEOILEFmO8vdyu O35S/fgejOx77jwI1F1gCzGEEG5rgcYRwIBBGdYqnmTjZmHV0tIzLOBT2L8/7aIYQduR y6cd4HEyH0JqvJOZBRl2R5O7SgqL2jujdin1acujSMytsnGHKrLvk6BhDBilkbwvjvf+ KaIt04oh4gJBvu+xTLOYtrTRt1+xoQt5pobkEryM6qQfbVmeWtXlNXX2WMjc7Rr5Y1jr tvaX+8GgOWAUz6o898TrwU4LcLS8zPCe8riRFmvwhHIPRxZqu8q/FG8eD3twBmvLrEWV 2Tug== 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:dkim-signature; bh=x2I+4wEt+ndD3DAovJGmxH8wykiwurzy6HtFRBsQBso=; b=xVDbXbS70Zij9XYplxudmyTMHL68fUsrvv/6+rIoHF4pUVtgYrl0yPbfDgoHZtxtMm pTfULGj2aPvd7MpiUTjf/+Zj5bANIs8+FGLd01wzCbOdznSTe9uthvDgxHwcrqhzhypW OlB9AaKRWgClmrny89rrMMWTQQPzE2B3tBIguZgpO5z1vA6LV43q4fZlLzCzOymzVFDU oBnu/G0EHvtc60vcx11XrQnDR7STHfWMUwEBZaAIwcqqlWItzuGuzqq+JMtCoHBUg/N0 TBQssv6PEeX8blY9AYUCOUpdwolgBH45topSnoa4mm1nK8Vk/Xl/8Kiif/xuF1VVlnrc q5Bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@deltatee.com header.s=20200525 header.b=AOlOEr1h; 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 dg23si2422721edb.142.2020.06.11.16.12.10; Thu, 11 Jun 2020 16:12:33 -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=fail header.i=@deltatee.com header.s=20200525 header.b=AOlOEr1h; 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 S1726377AbgFKXJo (ORCPT + 99 others); Thu, 11 Jun 2020 19:09:44 -0400 Received: from ale.deltatee.com ([204.191.154.188]:60786 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726270AbgFKXJn (ORCPT ); Thu, 11 Jun 2020 19:09:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deltatee.com; s=20200525; h=Subject:Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Sender: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=x2I+4wEt+ndD3DAovJGmxH8wykiwurzy6HtFRBsQBso=; b=AOlOEr1h01xKYHXIq+FDtdK8fV t938zGbURQF+SpD804shhOweuygX26rFPYZB7wOUfe8/fgjpwdu+sjbBNiG5Pgqzr6Bmszwk/L9kC K1p0Bp8VHsoLXn+0yE8uAaYeOWiwcQ6zTuEieIYrLtSoX8QjFNsLfpYiPMM9g2oUtarlEt31gAVAK O+ryzQeuT8086Kf71K3gMScjAJjWw4yQbz1G4F8xNuOOrLZQVnvLehDj7gAou8YBFUDH1Di74PCme jkk7DtdgHIlGaIYu5E6MKYhgmA6sM7MsnjvcIktmfJMyJIPnO7cgQs2FXazslsuMYCB9Yi3Lpeshq MHLudDUQ==; Received: from s01060023bee90a7d.cg.shawcable.net ([24.64.145.4] helo=[192.168.0.10]) by ale.deltatee.com with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jjWKF-0001kE-4v; Thu, 11 Jun 2020 17:09:35 -0600 To: Chaitanya Kulkarni , "linux-kernel@vger.kernel.org" , "linux-nvme@lists.infradead.org" Cc: Christoph Hellwig , Sagi Grimberg , Keith Busch , Jens Axboe , Max Gurtovoy , Stephen Bates References: <20200514172253.6445-1-logang@deltatee.com> <20200514172253.6445-6-logang@deltatee.com> From: Logan Gunthorpe Message-ID: <3e198d5f-e303-25d9-0e8e-e5916809800d@deltatee.com> Date: Thu, 11 Jun 2020 17:09:34 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 24.64.145.4 X-SA-Exim-Rcpt-To: sbates@raithlin.com, maxg@mellanox.com, axboe@fb.com, kbusch@kernel.org, sagi@grimberg.me, hch@lst.de, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, Chaitanya.Kulkarni@wdc.com 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 v13 5/9] nvme-core: Introduce nvme_ctrl_get_by_path() X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +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 2020-06-11 5:02 p.m., Chaitanya Kulkarni wrote: > On 5/14/20 10:23 AM, Logan Gunthorpe wrote: >> +#ifdef CONFIG_NVME_TARGET_PASSTHRU >> +/* >> + * The exports that follow within this ifdef are only for >> + * use by the nvmet-passthru and should not be used for >> + * other things. >> + */ > > The above comment is duplicate #ifdef is self explanatory and I didn't > find similar style in existing repo (e.g. CONFIG_NVME_MULTIPATH, > CONFIG_BLK_SED_OPAL) so let's not introduce new style which will create > confusion to future code. Christoph specifically asked for this ifdef and comment. Logan