[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170605212346.GB3772@lst.de>
Date: Mon, 5 Jun 2017 23:23:46 +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 4/5] ACPI / extlog: Switch to use new generic UUID
API
On Mon, Jun 05, 2017 at 07:23:05PM +0300, Andy Shevchenko wrote:
> > From a quick look over the tree it seems like both fru_id and
> > section_type should be declared as guid_t in
> > struct acpi_hest_generic_data.
>
>
> They are arrays of 16 u8:s.
As is the guid_t.
> And since it's defined in ACPI table definition I'm not sure we can
> change it.
If we always use 16 u8s as guid_t we might as well define the structure
as such, instead of all the casts that remove type safety.
Powered by blists - more mailing lists