Re: [PATCH v1 1/2] ACPI: property: Allow _DSD buffer data only for byte accessors

From: Andy Shevchenko
Date: Tue Oct 03 2023 - 10:09:20 EST


On Tue, Oct 03, 2023 at 03:59:26PM +0200, Rafael J. Wysocki wrote:
> On Mon, Oct 2, 2023 at 3:46 PM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

...

> > + if (obj->type == ACPI_TYPE_BUFFER) {
> > + if (proptype != DEV_PROP_U8)
> > + return -EPROTO;
> > items = obj;
> > + } else
> > + items = obj->package.elements;
>
> The braces that are missing here (as per the coding style) were added
> while applying the patch.

Thank you!

--
With Best Regards,
Andy Shevchenko