Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1657693

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

From Christoph Hellwig <hch@lst.de>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/5] acpi, nfit: Switch to use new generic UUID API
Date 2017-06-05 18:10 +0200
Message-ID <tP2JP-54T-5@gated-at.bofh.it> (permalink)
References <tNhN0-CQ-17@gated-at.bofh.it> <tNhN0-CQ-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 1/5] acpi, nfit: Switch to use new generic UUID API Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-05-31 21:50 +0200
  Re: [PATCH v2 1/5] acpi, nfit: Switch to use new generic UUID API Dan Williams <dan.j.williams@intel.com> - 2017-06-01 16:30 +0200
  Re: [PATCH v2 1/5] acpi, nfit: Switch to use new generic UUID API Christoph Hellwig <hch@lst.de> - 2017-06-05 18:10 +0200
    Re: [PATCH v2 1/5] acpi, nfit: Switch to use new generic UUID API Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-06-05 18:20 +0200

csiph-web