]> 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)
commit78910987872f7aec1dca434f4b984a01b2f53da8
tree8a2c16ab55cc2128c28a095aaf48b452f2badbe7
parent3a72785cb51638692063709c55ab7aed2c8bd7e0
cxgb4: Fix return value check in cfg_queues_uld()

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

Fixes: 670bddc26792 ("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