]> 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)
commitba975d7c725b2f3c5087a5b891ada9002c8f0c04
treee1cb6b77cbfb8794ab890fe9cc64f3a4ccd46a30
parent23e6bfd88546c4325246292cf15af36c2865216b
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: bc27b5935a5d ("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