Re: [PATCH v2 1/5] acpi, nfit: Switch to use new generic UUID API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
Intel Finland Oy
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux