]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: Use size of channel defined in the channel.
authorDavid Kershner <david.kershner@unisys.com>
Wed, 30 Aug 2017 17:36:31 +0000 (13:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Aug 2017 16:17:40 +0000 (18:17 +0200)
commitaf86444910d97588a411d3aefbe11d055f2d4662
tree02f84e599972228574f4ab3343aa0f782b91071d
parent9ee25694fd3f27a1cb854dc3165ccd500f15e920
staging: unisys: Use size of channel defined in the channel.

The size of the channel should be pulled from the channel header, not
from the message. All channels must be at least the size of the
channel_header.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_private.h
drivers/staging/unisys/visorbus/visorchannel.c
drivers/staging/unisys/visorbus/visorchipset.c