hv: util: checking the wrong variable
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 1 Aug 2015 23:08:17 +0000 (16:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 05:29:45 +0000 (22:29 -0700)
commit9dd6a06430c94299651d74b9ed5ca8396ab8ff1f
treeaf20c6d1954cfdc92bbb6b8de7aaf68c14c06b59
parentb81658cf5d44e07c70c93e3b2aefe848eaaba99f
hv: util: checking the wrong variable

We don't catch this allocation failure because there is a typo and we
check the wrong variable.

Fixes: 14b50f80c32d ('Drivers: hv: util: introduce hv_utils_transport abstraction')

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_utils_transport.c