staging: unisys: visorbus: use guid_is_equal instead of memcmp
authorDavid Kershner <david.kershner@unisys.com>
Wed, 27 Sep 2017 17:14:14 +0000 (13:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Sep 2017 09:17:13 +0000 (11:17 +0200)
commit5d48942c1fa0f217b82053e8db0688538dde1fdb
tree4b64859eda668e70f7ea7797b63dc569edf2036b
parent7915a3c45021ca47f9fe982abc6c6df3ace652fc
staging: unisys: visorbus: use guid_is_equal instead of memcmp

The function publish_vbus_dev_info was doing a memcmp of guids. It should
be using the kernel provided guid_equal function instead.

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