Messages in this thread | | | From | Dan Williams <> | Date | Mon, 15 May 2017 10:48:21 -0700 | Subject | Re: [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>
| |