Skip to content

Commit

Permalink
net/ibmvnic: Fix missing { in __ibmvnic_reset
Browse files Browse the repository at this point in the history
Commit 1c2977c ("net/ibmvnic: free reset work of removed device from queue")
adds a } without corresponding { causing build break.

Fixes: 1c2977c ("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>
  • Loading branch information
hramrach authored and davem330 committed Sep 10, 2019
1 parent 28abe57 commit c8dc559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/ibm/ibmvnic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1984,7 +1984,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;
Expand Down

0 comments on commit c8dc559

Please sign in to comment.