]> git.baikalelectronics.ru Git - kernel.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)
commite84dcf82abc39f371256a658c6c2fb7d97909087
treee1cb6b77cbfb8794ab890fe9cc64f3a4ccd46a30
parent92d4a513aec34b4bab67a90f210fde3f86bcce1b
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: b45d2c1579d1 ("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