[PATCH 3/6] staging: most: aim-cdev: make syscall write accept buffers of arbitrary size

Greg KH gregkh at linuxfoundation.org
Thu Sep 22 07:06:34 UTC 2016


On Wed, Sep 21, 2016 at 02:49:07PM +0200, Christian Gromm wrote:
> From: Andrey Shvetsov <andrey.shvetsov at k2l.de>
> 
> This patch allows to call the write() function for synchronous and
> isochronous channels with buffers of any size. The AIM simply waits for
> data to fill up the MOST buffer object according to the network interface
> controller specification for streaming channels, before it submits the
> buffer to the HDM.
> 
> The new behavior is backward compatible to the old applications, since
> all known applications needed to fill the buffer completely anyway.
> 
> Signed-off-by: Andrey Shvetsov <andrey.shvetsov at k2l.de>
> Signed-off-by: Christian Gromm <christian.gromm at microchip.com>
> ---
>  drivers/staging/most/aim-cdev/cdev.c | 33 +++++++++++++++++++++------------
>  1 file changed, 21 insertions(+), 12 deletions(-)

This one didn't apply as I dropped patch 2/6 in this series, sorry.

greg k-h


More information about the devel mailing list