commit | ce3d1536acabbdcdc3c945c3c078dd4ed1b8edfa | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen@networkplumber.org> | Mon Apr 16 11:19:27 2018 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Apr 23 12:43:48 2018 +0200 |
tree | 89e619b2d2e172d1d78e9a7af4f3e2db0a953527 | |
parent | 135db384a2efde3718fd551e3968e97fcb400c84 [diff] |
uio_hv_generic: fix subchannel ring mmap The fault method of handling subchannel ring, did not work correctly (it only worked for the first page). Since ring buffer is physically contiguous, using the vm helper function is simpler and handles more cases. Fixes: 37b96a4931db ("uio_hv_generic: support sub-channels") Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>