commit | 72c996099dc6fd83947a79cdac05625c6a52ffa6 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Nov 13 21:25:48 2019 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 13 14:33:25 2019 -0800 |
tree | 75a40c627fac6b4a2abae979766046fe84adc085 | |
parent | d41378713eef6a7d9d9c30cb9a6181ad72f69596 [diff] |
cxgb4: Fix an error code in cxgb4_mqprio_alloc_hw_resources() "ret" is zero or possibly uninitialized on this error path. It should be a negative error code instead. Fixes: 2d0cb84dd973 ("cxgb4: add ETHOFLD hardware queue support") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>