staging: unisys: check the whole channel instead of just guid for match
authorSameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Wed, 27 Sep 2017 17:14:43 +0000 (13:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Sep 2017 09:20:21 +0000 (11:20 +0200)
commitcb3b5dccca9d011f764de139f88a1db3b9d21d82
treeaa2622b571339a77f8188cc36b6e754430b462e1
parent66040f9104fc2898d4a66e94e9e5e2cc11927611
staging: unisys: check the whole channel instead of just guid for match

Validate that the channel contents match the channel type that we are
matching.

Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
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_main.c
drivers/staging/unisys/visorhba/visorhba_main.c
drivers/staging/unisys/visorinput/visorinput.c
drivers/staging/unisys/visornic/visornic_main.c