Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5980199ybe; Tue, 10 Sep 2019 11:40:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqy63C0Um+qbqTMfe72tJD74U7wvm4Z746DcYAdmrb+DPmDH5kuqys8+NYk8LVD9KDiI21gl X-Received: by 2002:a50:9fe5:: with SMTP id c92mr32522734edf.280.1568140825321; Tue, 10 Sep 2019 11:40:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568140825; cv=none; d=google.com; s=arc-20160816; b=pZux4QnOMkasyAJbjPERtbkMga0A/XaINABzRfckejSXP5NxakqNGfmSAcF7LzmHQC ApuzVGWRs0F3mBAk9G5Iyu2eLcE/yItOcpfnBqa/83ybEDabB5W4M4LEg8vnc516b1ov 7bHqU2UXEcVnr/MPMhXACyGCwEhF0EosVg/0NmCZYUl5z/rsMS5n0/SozhR+N0+KXp+Y fUxz7espwIoc1BlZQR8B6v/7N/wsujclFYHQ4ISIKJsRE02xn4QONoFrlfUMzmYwjN/1 F6tRPytyjPcbLLAPeAhwbpadliSIY5NLuTo/08uFhwLdc/c7yhGfUfMZHjAb/DGxEJuz fJCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=OzbG6ijxWR8yR+3ZPmZBrR4uTCNEuZlfpArCt26Fl34=; b=cIk0rKysEqvnCAl3JbZJUU2uPiucvnDgedTXXMyS4dA2bIpGnnjFAG2WL44Fchiwdb I31Q6O7nE4K0kMPolv/eEgswowuZbb0yumVruUSymsl3KpcgFhwnIEqlOsHxiKx+jTiK rOvZ+/RSLVwWwzhsKcjf6097VVN3cWMEtVMOhbusy/KhXP4NA6ApQHQIlE4FYrtVAZGO 3Tt4JGe6SmLoo27SV2WSRVZ/uGDcsXqJ+xByMoDUNFRU1zzFjD5YHh0oqh1TemXBjBKV YJmWmtE5jyWyBo0RjlO33cYBuqZoS3rM5Fwf3JzrjPmStXCXlhzl1ZRhfF5fy7+3FQV5 cTSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j35si11929129eda.144.2019.09.10.11.40.01; Tue, 10 Sep 2019 11:40:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391735AbfIIUpA (ORCPT + 99 others); Mon, 9 Sep 2019 16:45:00 -0400 Received: from mx2.suse.de ([195.135.220.15]:33440 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726806AbfIIUpA (ORCPT ); Mon, 9 Sep 2019 16:45:00 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id C19ABABB1; Mon, 9 Sep 2019 20:44:57 +0000 (UTC) From: Michal Suchanek To: netdev@vger.kernel.org, "David S. Miller" , Juliet Kim Cc: Michal Suchanek , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Thomas Falcon , John Allen , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH] net/ibmvnic: Fix missing { in __ibmvnic_reset Date: Mon, 9 Sep 2019 22:44:51 +0200 Message-Id: <20190909204451.7929-1-msuchanek@suse.de> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190907.173714.1400426487600521308.davem@davemloft.net> References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/net/ethernet/ibm/ibmvnic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c index 6644cabc8e75..5cb55ea671e3 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.c +++ b/drivers/net/ethernet/ibm/ibmvnic.c @@ -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; -- 2.22.0