diff options
author | Michal Suchanek <msuchanek@suse.de> | 2019-09-09 22:44:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-01 08:26:10 +0200 |
commit | dec09554eba91b137744651818003bd8199d90e0 (patch) | |
tree | bd2d748ef64847ead90ca3f261d07c93994bdba9 | |
parent | dc9118feb472e3c3df88a455def66ce4ac2f0a0a (diff) | |
download | linux-stable-dec09554eba91b137744651818003bd8199d90e0.tar.gz linux-stable-dec09554eba91b137744651818003bd8199d90e0.tar.bz2 linux-stable-dec09554eba91b137744651818003bd8199d90e0.zip |
net/ibmvnic: Fix missing { in __ibmvnic_reset
[ Upstream commit c8dc55956b09b53ccffceb6e3146981210e27821 ]
Commit 1c2977c09499 ("net/ibmvnic: free reset work of removed device from queue")
adds a } without corresponding { causing build break.
Fixes: 1c2977c09499 ("net/ibmvnic: free reset work of removed device from queue")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Reviewed-by: Juliet Kim <julietk@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r-- | drivers/net/ethernet/ibm/ibmvnic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c index f232943c818b..aa067a7a72d4 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.c +++ b/drivers/net/ethernet/ibm/ibmvnic.c @@ -1999,7 +1999,7 @@ static void __ibmvnic_reset(struct work_struct *work) rwi = get_next_rwi(adapter); while (rwi) { if (adapter->state == VNIC_REMOVING || - adapter->state == VNIC_REMOVED) + adapter->state == VNIC_REMOVED) { kfree(rwi); rc = EBUSY; break; |