Re: [PATCH v3 1/3] acpi: add a helper for retrieving _OSC Control DWORDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2022-03-30 at 14:04 -0500, Bjorn Helgaas wrote:
> Look at previous subject lines and copy the style instead of making up
> something new.

Yep will fix.

> 
> On Wed, Mar 30, 2022 at 12:14:32PM -0600, Vishal Verma wrote:
> > During _OSC negotiation, when the 'Control' DWORD is needed from the
> > result buffer after running _OSC, a couple of places performed manual
> > pointer arithmetic to offset into the right spot in the raw buffer.
> > Add a acpi_osc_ctx_get_pci_control() helper to use the #define'd
> > DWORD offsets to fetch the DWORDs needed from @acpi_osc_context, and
> > replace the above instances of the open-coded arithmetic.
> 
> Bjorn





[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux