Thread (10 messages) 10 messages, 2 authors, 2017-11-11

Re: [GIT PULL] nvme updates for Linux 4.15

From: Christoph Hellwig <hch@infradead.org>
Date: 2017-11-10 17:22:49
Also in: linux-nvme

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)))
quoted
quoted
quoted
quoted
quoted
quoted
quoted
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 [off-list ref]
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help