[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170605160102.GA29981@lst.de>
Date: Mon, 5 Jun 2017 18:01:02 +0200
From: Christoph Hellwig <hch@....de>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Christoph Hellwig <hch@....de>, linux-kernel@...r.kernel.org,
"Rafael J . Wysocki " <rjw@...ysocki.net>,
linux-acpi@...r.kernel.org,
Dan Williams <dan.j.williams@...el.com>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Borislav Petkov <bp@...e.de>, intel-gfx@...ts.freedesktop.org
Subject: Re: [PATCH v2 1/5] acpi, nfit: Switch to use new generic UUID API
> 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 "!"
Powered by blists - more mailing lists