lkml.org 
[lkml]   [2017]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 08/17] uuid: hoist uuid_is_null() helper from libnvdimm
    On Mon, May 15, 2017 at 8:42 AM, Christoph Hellwig <hch@lst.de> wrote:
    > Hoist the libnvdimm helper as an inline helper to linux/uuid.h
    > using an auxiliary const variable uuid_null in lib/uuid.c.
    >
    > [hch: also add the guid variant. Both do the same but I'd like
    > to keep casts to a minimum]
    >
    > The common helper uses the new abstract type uuid_t * instead of
    > u8 *.
    >
    > Suggested-by: Christoph Hellwig <hch@lst.de>
    > Cc: Dan Williams <dan.j.williams@intel.com>
    > Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    > Cc: David Howells <dhowells@redhat.com>
    > Signed-off-by: Amir Goldstein <amir73il@gmail.com>
    > [hch: added guid_is_null]
    > Signed-off-by: Christoph Hellwig <hch@lst.de>

    Acked-by: Dan Williams <dan.j.williams@intel.com>

    \
     
     \ /
      Last update: 2017-05-15 19:49    [W:4.334 / U:0.600 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site