]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Fix return value check in cfg_queues_uld()
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 17 Sep 2016 15:52:17 +0000 (15:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Sep 2016 05:42:28 +0000 (01:42 -0400)
commit5939d1f1fcd94f753755e21761c9e1c2fa2a637a
tree8a2c16ab55cc2128c28a095aaf48b452f2badbe7
parent6746eb3afebc7ef319e5d41b1abcde5a1002040c
cxgb4: Fix return value check in cfg_queues_uld()

Fix the retrn value check which testing the wrong variable
in cfg_queues_uld().

Fixes: 781edc2e4515 ("cxgb4: Add support for dynamic allocation of
resources for ULD")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c