diff options
| author | Li Heng <liheng40@huawei.com> | 2020-06-29 18:49:51 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-22 09:10:01 +0200 |
| commit | 815f9846691a9321ab97eb48d5f4dd717230b557 (patch) | |
| tree | f7a0ca3562ec0506fa7abbe0c48e5d3c2d50d968 /scripts/objdiff | |
| parent | a6a396f1b765238fe47edafbdb3ecfb0f7c1d102 (diff) | |
net: cxgb4: fix return error value in t4_prep_fw
[ Upstream commit 8a259e6b73ad8181b0b2ef338b35043433db1075 ]
t4_prep_fw goto bye tag with positive return value when something
bad happened and which can not free resource in adap_init0.
so fix it to return negative value.
Fixes: 16e47624e76b ("cxgb4: Add new scheme to update T4/T5 firmware")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Li Heng <liheng40@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
