GenWQE: Check return code of pci_sriov_enable
authorFrank Haverkamp <haver@linux.vnet.ibm.com>
Wed, 10 Sep 2014 14:37:50 +0000 (16:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 06:15:46 +0000 (23:15 -0700)
commitbc407dd319bb8c3608369989d95b700d00e6cf43
treefa58685cb2537f921c09ac2661cc172d8b5c59f1
parent2d880ccfa9be92a10ea19f5a8f7e4be2a7d45e4d
GenWQE: Check return code of pci_sriov_enable

Forgetting to check this, can lead to problems on systems which
do not support SRIOV.

Signed-off-by: Frank Haverkamp <haver@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/genwqe/card_base.c