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

Christoph Hellwig hch at lst.de
Mon Jun 5 16:01:02 UTC 2017


>  	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 "!"


More information about the Intel-gfx mailing list