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