]> git.karo-electronics.de Git - linux-beck.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)
commit106323b905a6bcd21ff83dd4e19566282fd5eb52
tree8a2c16ab55cc2128c28a095aaf48b452f2badbe7
parent4646651e754f3593761142c7a9e11c5ee2a983a6
cxgb4: Fix return value check in cfg_queues_uld()

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

Fixes: 94cdb8bb993a ("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