commit | a882d20cdb7775ff8b4aac880255eff6a2c1c85e | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Thu Nov 02 11:15:07 2017 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 03 14:23:54 2017 +0900 |
tree | 3c989cdc375c1819f7cfe7136abdac5060e2e2fb | |
parent | eba0c929d1d0f16c4b03628b7bf8ce363b9e5c9a [diff] |
cxgb4: fix error return code in cxgb4_set_hash_filter() Fix to return a negative error code from thecxgb4_alloc_atid() error handling case instead of 0. Fixes: 12b276fbf6e0 ("cxgb4: add support to create hash filters") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-By: Kumar Sanghvi <kumaras@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>