Skip to content
  • Keith Whitwell's avatar
    util: fix up several uses of pipe_map_buffer_range · 20bf14be
    Keith Whitwell authored
    This function used to return a pointer to where the start of the
    actual buffer would have been, even though only the requested range is
    being mapped.
    
    In the resources change, the function was modified to use a transfer
    internally, and started returning the pointer to the beginning of the
    transfer, ie the mapped range.
    
    Some users of the function were changed to reflect this new behaviour,
    some were not.  Since then the function has reverted to its original
    behaviour, matching master.
    
    This change restores some of the users of the map_buffer_range helper
    to expect the old/original behaviour.
    20bf14be