commit | f24f0b495b17df33c03f3b758b1461385e9f0e50 | [log] [tgz] |
---|---|---|
author | Vitaly Kuznetsov <vkuznets@redhat.com> | Fri Sep 02 05:58:21 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Sep 02 17:22:51 2016 +0200 |
tree | 6c255cd283067f590b4686c35d0eead6673a3235 | |
parent | 9988ce685676cebe0b14dc128f00e1ae9cd1a4fa [diff] |
Drivers: hv: ring_buffer: use wrap around mappings in hv_copy{from, to}_ringbuffer() With wrap around mappings for ring buffers we can always use a single memcpy() to do the job. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Tested-by: Dexuan Cui <decui@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>