]> git.baikalelectronics.ru Git - kernel.git/commit
uio_hv_generic: set size of ring buffer attribute
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 16 Apr 2018 18:19:24 +0000 (11:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 10:43:48 +0000 (12:43 +0200)
commit92d4a513aec34b4bab67a90f210fde3f86bcce1b
tree4c950ed1e942d73a94e44c35dcf47b79c0cf8792
parentd887a6a58b6b60f3ec77dabdd9203459d3dcd1c4
uio_hv_generic: set size of ring buffer attribute

The original code had ring size as a module parameter, but
then it was made a fixed value.  The code to set the size of
the ring buffer binary file was lost in the transistion.
The size is needed by user mode driver to know the size of
the ring buffer.

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