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

Andy Shevchenko
2023-10-03T14:09:20Z

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@linux.intel.com> 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