Drivers: hv: ring_buffer: use wrap around mappings in hv_copy{from, to}_ringbuffer()
BugLink: http://bugs.launchpad.net/bugs/1650059 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> (cherry picked from commit f24f0b49) Signed-off-by:
Tim Gardner <tim.gardner@canonical.com> Acked-by:
Brad Figg <brad.figg@canonical.com> Acked-by:
Seth Forshee <seth.forshee@canonical.com> Signed-off-by:
Luis Henriques <luis.henriques@canonical.com>
Showing
Please register or sign in to comment