From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3EA56C3F6B0 for ; Tue, 9 Aug 2022 07:20:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233392AbiHIHUv (ORCPT ); Tue, 9 Aug 2022 03:20:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233802AbiHIHUe (ORCPT ); Tue, 9 Aug 2022 03:20:34 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3B96DFAB; Tue, 9 Aug 2022 00:20:32 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 8814668C4E; Tue, 9 Aug 2022 09:20:29 +0200 (CEST) Date: Tue, 9 Aug 2022 09:20:29 +0200 From: Christoph Hellwig To: Mike Christie Cc: bvanassche@acm.org, linux-block@vger.kernel.org, dm-devel@redhat.com, snitzer@kernel.org, axboe@kernel.dk, hch@lst.de, linux-nvme@lists.infradead.org, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, james.bottomley@hansenpartnership.com Subject: Re: [PATCH v2 08/20] nvme: Add helper to convert to a pr_ops PR type Message-ID: <20220809072029.GE11161@lst.de> References: <20220809000419.10674-1-michael.christie@oracle.com> <20220809000419.10674-9-michael.christie@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220809000419.10674-9-michael.christie@oracle.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org On Mon, Aug 08, 2022 at 07:04:07PM -0500, Mike Christie wrote: > This adds a helper to go from the NVMe spec PR type value to the block > layer pr_type, so for Reservation Report support we can convert from its > value. Without a user this is going to create a compiler warning.