]> asedeno.scripts.mit.edu Git - linux.git/commit
uio_hv_generic: make ring buffer attribute for primary channel
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 16 Apr 2018 18:19:25 +0000 (11:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 10:43:48 +0000 (12:43 +0200)
commit9ab877a6ccf820483d79602bede0c1aa1da4d26a
treee1cb6b77cbfb8794ab890fe9cc64f3a4ccd46a30
parent6e3d66b80f670fdc64b9a120362a9f94b0494621
uio_hv_generic: make ring buffer attribute for primary channel

The primary channel also needs a ring buffer attribute. This allows
application to check if kernel supports uio sub channels, and also
makes all channels use consistent API.

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>
drivers/uio/uio_hv_generic.c