]> asedeno.scripts.mit.edu Git - linux.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)
commit6e3d66b80f670fdc64b9a120362a9f94b0494621
tree4c950ed1e942d73a94e44c35dcf47b79c0cf8792
parent7aa135fcf26377f92dc0680a57566b4c7f3e281b
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: 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