lkml.org 
[lkml]   [2017]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 1/5] acpi, nfit: Switch to use new generic UUID API
From
Date
On Mon, 2017-06-05 at 18:01 +0200, Christoph Hellwig wrote:
> >   for (i = 0; i < NFIT_UUID_MAX; i++)
> > - if (memcmp(to_nfit_uuid(i), spa->range_guid, 16) ==
> > 0)
> > + if (!guid_equal(to_nfit_uuid(i), (guid_t *)&spa-
> > >range_guid))
> >   return i;
>
> I think this should be guid_equal without the "!"

Right.


--
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy

\
 
 \ /
  Last update: 2017-06-12 00:30    [W:0.082 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site