Commit dec09554 authored by Michal Suchanek's avatar Michal Suchanek Committed by Greg Kroah-Hartman

net/ibmvnic: Fix missing { in __ibmvnic_reset

[ Upstream commit c8dc5595 ]

Commit 1c2977c0 ("net/ibmvnic: free reset work of removed device from queue")
adds a } without corresponding { causing build break.

Fixes: 1c2977c0 ("net/ibmvnic: free reset work of removed device from queue")
Signed-off-by: default avatarMichal Suchanek <msuchanek@suse.de>
Reviewed-by: default avatarTyrel Datwyler <tyreld@linux.ibm.com>
Reviewed-by: default avatarJuliet Kim <julietk@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent dc9118fe
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment