From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 10 Nov 2017 09:22:49 -0800 From: Christoph Hellwig To: Jens Axboe Cc: Christoph Hellwig , Keith Busch , linux-block@vger.kernel.org, Sagi Grimberg , linux-nvme@lists.infradead.org Subject: Re: [GIT PULL] nvme updates for Linux 4.15 Message-ID: <20171110172248.GA8381@infradead.org> References: <20171110143407.zapukx3fhfcr4fm5@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: List-ID: On Fri, Nov 10, 2017 at 08:22:32AM -0700, Jens Axboe wrote: > Actually, double checking, one of them is a little suspicious: > > if (a == &dev_attr_uuid.attr) { > <<<<<<< HEAD > if (uuid_is_null(&ns->uuid) && > !memchr_inv(ns->nguid, 0, sizeof(ns->nguid))) > ======= > if (uuid_is_null(&ids->uuid) || > !memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) > >>>>>>> 34a9690712aa386fb5fa9e3b8fb44a22f5f2aec6 > return 0; > } > > with the previous copy using is_null && memchr_inv, the change to ids > makes it an OR instead. I'm going with the latter, but thought I'd bring > it up. The && from master is the right one, it comes from: ommit 007a61ae2f35c7fcf767313285c4924e81f11983 Author: Martin Wilck Date: Thu Sep 28 21:33:23 2017 +0200 nvme: fix visibility of "uuid" ns attribute and needs to be logically applied to the new code as well.